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

HTML5 fallback when streaming from Wowza


I have attempted to make an mp4 file stream from wowza 3.5 and fall back to html5 on IOS6 devices.

dev3.dawgPoundUSA.com/60testhw.cfm

bc.. <script type="text/javascript" SRC="p6/jwplayer.js"></script>
<div id="preview"></div>
<script type="text/javascript">
jwplayer("preview").setup({
file: "rtmp://wowza.pstarz.net/vod/mp4:D/sample.mp4",
image: "images/sample.jpg",
height: 362,
width: 500,
sharing: {
code: encodeURI("<iframe src='http://dawgPoundUSA.com/60Testh.cfm?ID=sample"),
link: ""
} });
</script>



works fine in MSIE and firefox. When I try to pull it up on an IPAD running IOS6.01 I get the error message:

Error Loading Player: No playable sources found.

Wowza has cupertino streaming enabled. Any idea about source of error?

12 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

You are only linking to one RTMP file here. You need to link to a 2nd file to use for the fallback, similar to this example – http://www.longtailvideo.com/support/jw-player/29394/hls-with-mp4-fallback

The only difference here is that instead of using HLS > MP4 you would be using RTMP > MP4

JW Player

User  
0 rated :

Getting close.....

in http://dev.dawgPoundUSA.com/60testiw.cfm

<script type="text/javascript">
jwplayer("preview").setup({
playlist:[{
image: "images/sample.jpg",
sources: [{
file: "rtmp://wowza.pstarz.net/vod/mp4:D/sample.mp4"
},{
file: "http://wowza.pstarz.net/vod/mp4:D/sample.mp4"
}]
}],
primary: "flash",
height: 362,
width: 500,
sharing: {
code: encodeURI("<iframe src='http://dawgPoundUSA.com/60Testh.cfm?ID=sample"),
link: ""
}
});
</script>

once again plays fine in msie and firefox but on ipad ios6.01

error loading media
file could not be played.

I am trying to use the same mp4 file in the same wowza folder to serve both flash and html5

Ethan Feldman

JW Player Support Agent  
0 rated :

Your link is down, please advise:

The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
File not found: /60testiw.cfm
 
Resources:

    Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.
    Check the ColdFusion documentation to verify that you are using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.

Browser   	Mozilla/5.0 (Windows NT 5.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0 AlexaToolbar/alxf-2.17
Remote Address   	24.103.245.86
Referrer   	http://www.longtailvideo.com/support/forums/jw-player/servers-and-streaming/30517/html5-fallback-when-streaming-from-wowza
Date/Time   	03-Jan-13 08:35 AM

JW Player

User  
0 rated :

Correction. Link is:

http://dev3.dawgpoundusa.com/60Testiw.cfm

Ethan Feldman

JW Player Support Agent  
0 rated :

This file does not exist – http://wowza.pstarz.net/vod/mp4:D/sample.mp4

JW Player

User  
0 rated :

How do I reference the file:

rtmp://wowza.pstarz.net/vod/mp4:D/sample.mp4

for playback during HTML5 fallback in ios6.01?

I changed to protocol on this file from rtmp to http and apparently that does not work.

What is the correct protocol and syntax to reference this file during fallback?

Ethan Feldman

JW Player Support Agent  
0 rated :

This is an RTMP file. You need to have a file on HTTP as well.

JW Player

User  
0 rated :

I've place this file in the Content folder of the wowza folder and enabled cupertino streaming.
bc.. sources: [{
file: "rtmp://wowza.pstarz.net/vod/mp4:D/sample.mp4"
},{
file: "http://wowza.pstarz.net/vod/mp4:D/sample.mp4"



Question is: what is proper syntax to connect to this file via html5 http.

Is it a different syntax Or a different physical location on wowza to access via http?

JW Player

User  
0 rated :

Ethan

On your last post you said 'this is an RTMP file.

by that do you mean

1)file format is rtmp
2)server location is rtmp
3)addressing syntax is rtmp

which needs to change to play this file on http?

Ethan Feldman

JW Player Support Agent  
0 rated :

@TonyC – You should ask Wowza where the file is located, I am not sure where it resides on your server, for http.

JW Player

User  
0 rated :

FYI:

Issue was that wowza streams hls through port 1935 and it must be excplicit in url:

bc.. sources: [{
file: "rtmp://wowza.pstarz.net/vod/mp4:D/sample.mp4"
},{
file: "http://wowza.pstarz.net:1935/vod/mp4:D/sample.mp4/playlist.m3u8"
}]


Ethan Feldman

JW Player Support Agent  
0 rated :

Ah, great. Thanks for letting me know.

This question has received the maximum number of answers.