JavaScript
Article
By Sam Deering

Flowplayer Auto Play RTMP Feeds

By Sam Deering
Help us help you! You'll get a... FREE 6-Month Subscription to SitePoint Premium Plus you'll go in the draw to WIN a new Macbook SitePoint 2017 Survey Yes, let's Do this It only takes 5 min

Documenting how to setup Flowplayer to Auto Play RTMP Feeds. Instead of the regular hyperlink code replace this with a div which includes the Flowplayer Flash Object. You must set container dimensions for the video to show.

Replace this regular Flowplayer HTML code:


With this HTML code:

--ADVERTISEMENT--

Then add this to the JavaScript to the player Obj. The autoPlay: true essentially is the same call as Player.play();

clip: {
    autoPlay: true
},

That’s it.

Login or Create Account to Comment
Login Create Account
Recommended
Sponsors
Get the most important and interesting stories in tech. Straight to your inbox, daily.Is it good?