JavaScript
Article

Flowplayer js Change Stream Url

By Sam Deering

This is how you can change the live streaming url in flowplayer using JavaScript.

var streamAddress = 'rtmp://ec2-122-248-197-999.ap-southeast-1.compute.amazonaws.com/mp4:sample.mp4';

$f(playerId).play([{
  url: streamAddress
}]);

Related Posts:

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.