we have construct the one secret URL for my application.i have PHP script how to change java script any one help me to solve the issue
Below mentioned script how to change java script in c# application i have php script this to change javascript
Live
jwplayer.key = "ti8UU55KNdJCPX+oWrJhLJNjkZYGiX13KS7yhlM7Ok/wmU3R";
jwplayer["myElement"].setup[{
file: '',
width: '100%',
aspectratio: '16:9',
stretching:'exactfit',
autostart: false,
androidhls: true,
skin: 'vapor',
primary: 'html5'
}];
This tool are convert PHP code to equivalent, relevant javascript code. Please note that this tool is still in its infancy. This is capable to convert user defined functions and some inbuilt Php method. Whose parity is less than 40% now. However it can be made more precise. We are working on it continuously. And will try to give you a better medium.
How to use?
Your php code must be inside tag.
And your code must be valid not produce any kind of warning and error.
Previous
Php to python converter online
Comment
Quite possibly there are a lot of points you would first need to consider. PHP is a server-side scripting language [probably based on either C or C++]. JavaScript on the other hand is a client-side programming language used in browsers to manipulate the DOM.
They both work separately. You use JavaScript along with PHP, to create a dynamic website; such as ajax requests, loading data etc. They cannot be converted to either one, PHP can never be converted to JavaScript; unless you use Node.js[^] to program your website's server-side script in JavaScript.
Then, Android is programmed in Java; JavaScript is just a prototype for Java language. You cannot create applications in JavaScript. Although now a days software [or simply cross-platform] application development has been made possible through HTML5/CSS3/JavaScript to engage
more developers to the platform, using clients or frameworks such as Apache Cordova[^]. But you won't be able to write native JavaScript applications, why? Because you still have to stick to their API. A simple alert['Hello world'];
call in browser would create a dialog, but in Android you would have to use Apache Cordova's API to generate dialog boxes and all other stuff. My
view about HTML and JavaScript programming is that this is the worst case of programming a software, no efficiency, no full framework support, too many factors slowing down your applications and many other factors are due to which I prefer programming an application in native language; Java would be perfect.
So according to the above points, your point of view of converting PHP code in JavaScript for Android programming is a total vague reason to convert server-side scripting code into a software-level client code. Don't do it!