Answer by mmm mmm · Feb 14, 2010 at 03:29 AM
<embed type="application/x-shockwave-flash" id="player4" name="player4" src="player_4.6.swf" width="320" height="240" allowscriptaccess="always" allowfullscreen="true" flashvars="streamer=IP:1935/simplevideostreaming&file=Extremists.m4v&type=rtmp&autostart=true" />
Note: To play H.264 or MP3 content that is in a folder inside of the [install-dir]/content folder, prepend mp4: and mp3: respectively to the folder name. For example, to play the media file:
Nothing is wrong, it's because JW Player is adding the prefix. If you add it, it's being added again anyway.
Richard
Answer by Andy Schnadarle · Feb 19, 2010 at 03:16 PM
you are going to setup an application named simplevideostreaming to stream pre-recorded video content from the [install-dir]/content folder.
Instructions
<script type="text/javascript"> var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF"); s1.addParam("allowfullscreen","true"); s1.addParam("allowscriptaccess","always"); s1.addParam("flashvars","fullscreen=true&bufferlength=2&streamer=rtmp://[server-ip-address]/simplevideostreaming&file=Extremists"); s1.write("container"); </script>
<script type="text/javascript"> var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF"); s1.addParam("allowfullscreen","true"); s1.addParam("allowscriptaccess","always"); s1.addParam("flashvars","fullscreen=true&bufferlength=2&streamer=rtmp://[server-ip-address]/simplevideostreaming&file=mp4:Extremists.m4v"); s1.write("container"); </script>
public function onData(dat:Object) { if(dat.type == 'metadata' && !metadata) { metadata = true; if(dat.width) { video.width = dat.width; video.height = dat.height; model.mediaHandler(video); } else { video.width = 320; video.height = 240; model.mediaHandler(video); } if(model.playlist[model.config['item']]['start'] > 0) { seek(model.playlist[model.config['item']]['start']); } } else if(dat.type == 'complete') { fileindex = undefined; clearInterval(timeinterval); model.sendEvent(ModelEvent.STATE,{newstate:ModelStates.COMPLETED}); } model.sendEvent(ModelEvent.META,dat); };
Answer by Chris Floersch · Jan 25, 2010 at 02:19 PM
<playlist version="1.1" xmlns="http://xspf.org/ns/0/"> <title>Selected Videos</title> <info>http://www.tobaccovideos.com</info> <trackList> <track> <title>The EFFECTS of SMOKING CHESTERFIELD CIGARETTES</title> <location>videos/originals/commercials/chesterfield_dvd_6/001chesterfield.mp4</location> <image>http://tobaccovideos.com/videos/thumb/118.jpg</image> <meta rel='captions'>/player/video_captions.php?video_id=118</meta> <meta rel='streamer'>rtmp://tobaccovideos.com:1935/simplevideostreaming</meta> <meta rel='type'>rtmp</meta> </track> <track> <title>I have some good news why you should change to Chesterfield</title> <location>videos/originals/commercials/chesterfield_dvd_6/002chesterfield.mp4</location> <image>http://tobaccovideos.com/videos/thumb/119.jpg</image> <meta rel='captions'>/player/video_captions.php?video_id=119</meta> <meta rel='streamer'>rtmp://tobaccovideos.com:1935/simplevideostreaming</meta> <meta rel='type'>rtmp</meta> </track> </trackList> </playlist>
Answer by Richard Lanham · Aug 08, 2010 at 01:02 PM
How to re-stream an unprotected stream from FMS or a CDN such as Akamai 19 Answers
IP Camera Live Streaming Problem 6 Answers
Mac OS camera -> RTSP -> Wowza 2 Answers
Help to make wowza EDGE server installation & Load Balancing urgent 2 Answers
UPGRADE 3.6 to 4.3 3 Answers
© 2005–2019 Wowza Media Systems, LLC. All rights reserved. Terms | Privacy | Trademarks | Legal