rmhall / jPlayer

jPlayer : HTML5 Audio & Video for jQuery - jplayer.og - UPDATE 09/14/2012: The RTMP features of this fork have been pulled/merged into the main master repository here:
https://github.com/happyworm/jPlayer
14 stars 4 forks source link

Unable to play .flv files #2

Closed moinmail closed 12 years ago

moinmail commented 12 years ago

Hi,

I m new to jplayer and RTMP. I m working on a player to work with rtmp video streaming. I am providing the.flv file as the video but it doesn't work.

I downloaded your source code form github but didn't find how to use it. Can you tell me how to use code with rtmp. please give me some example with working rtmp player with any video file format.

Thanks Moin

rmhall commented 12 years ago

Hi - take a look at the RTMP_NOTES text file which gets into details and has examples.

For .flv files over rtmp, try something like this:

jPlayer("setMedia", { rtmpv: "rtmp://fully_qualified_path_to_my_domain_example.rg/my_FMS_instance_name/path_to_my_flv_files/some_flv_file.flv" });

Here is a working example of an .mp4 file being served from Akamai via RTMP: http://clients.impossibilities.com/jplayer/rtmpv.html

I'll try to post some additional working examples breaking down additional RTMP format's, types, etc. - when I get a few free moments.

Regards, Rob

moinmail commented 12 years ago

Hi Robert,

Thanks for helping me. your example for mp4 with RTMP worked for me. Thank you so much.

I noticed 1 issue in firefox with the player when switching on to full screen the video starts from beginning rather then the point when switching on to full screen but in chrome its working perfectly.

Thanks & regards Moin

moinmail commented 11 years ago

Hi Robert,

Could you please help me for playing FLV files from streaming server. The example you provided me before works fine for MP4 format but its not working for FLV.

Regards, Moin