
RTMP responsive video code
Hello
You could give me an example code for a rtmp responsive video, in the latest version of JWplayer.
Very thankful
Hello
You could give me an example code for a rtmp responsive video, in the latest version of JWplayer.
Very thankful
<!DOCTYPE html> <html> <head> <script src="http://content.jwplatform.com/libraries/your cloud hosted ID here.js"></script> </head> <body> <div id="myElement">Loading the player...</div> <script type="text/javascript"> var playerInstance = jwplayer("myElement"); playerInstance.setup({ file: "insert link to your rtmp stream here", width: "100%", apectratio: "16:9", // coudl also be 4:3 or whatever ratio makes sense for your content
}); </script> </body> </html>
You should probably check out the basic embed page for general instructions on how to embed our player.