Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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

1 Community Answers

Donni

JW Player Support Agent  
0 rated :

<!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.

This question has received the maximum number of answers.