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

m3u8 / HLS


HLS / m3u8 seems to be breaking 7.0.3.

This configuration was working prior to 7.0.3

http://www.cox7.com/video/health-services/?m3u8=1

But I now need to remove the m3u8 playlist for the video to load and play

http://www.cox7.com/video/health-services/

No errors are thrown in the console and all the assets resolve fine. Thoughts?

11 Community Answers

mark

User  
0 rated :

remove primary:"html5",
see if it works

Alex

JW Player Support Agent  
0 rated :

Hi, there!

I took your setup block and pasted it into a test page (http://qa.jwplayer.com/~abussey/703-hls.html) and it’s working fine for me, pre-roll ad and all.

I also left primary: html5, which doesn’t matter in 7.0.3 anyway because this new version is stricter about respecting the order of your files, so if the HLS stream is first, it’ll play it first, even if it has to render in Flash.

The only thing I can think of when looking at your code is the fact that you are referencing the stormtrooper.css in the beginning, which you shouldn’t have to link to at all, the player should handle all of the skinning as long as you include the “skin: ‘stormtrooper’” line in your code.

I would suggest trying to remove that and see what happens.

Thanks.

sean.ogorman

User  
0 rated :

for testing I removed the html5, skin, and android hls flags and the videos still don't load

Any other ideas?

Alex

JW Player Support Agent  
0 rated :

Hi, Sean.

It looks like it’s an error with your ad tag. If you take the ad tag, which I pasted below, and paste it directly into both our ad tester (http://demo.jwplayer.com/ad-tester/) and Google’s tester (https://developers.google.com/interactive-media-ads/docs/sdks/flash/vastinspector), it fails due to a network error.

Ad Tag – http://adserver.cox7.com/www/delivery/fc.php?script=bannerTypeHtml:vastInlineBannerTypeHtml:vastInlineHtml&zones=pre-roll0-0%3D83&nz=1&source=&r=R0.023106331005692482&block=1&format=vast&charset=UTF-8

I would suggest contacting whoever handles your ad server to troubleshoot the tag.

Please let me know if you need any more help or have any other questions.

Thank you!

sean.ogorman

User  
0 rated :

Alex, where are you seeing those ad tags? They do not exist on the page we are looking at...

http://www.cox7.com/video/health-services/?m3u8=1

I did test the ad-tag that exists on the page and it passes google's verrification



For further testing if you add the disableAds=1 tag in the url I remove the ad code.



Further examples.. video with no m3u8 and ad code works....
http://www.cox7.com/video/health-services

video with m3u8 does not work....
http://www.cox7.com/video/health-services/?m3u8=1

video with m3u8 and no ad tag still does not work....
http://www.cox7.com/video/health-services/?m3u8=1&disableAds=1

The only code that is changing on the page is the few lines of the JWPlayer embed that is being removed by the variables in the URL

The m3u8 in my code worked fine with 7.0.1, not sure about 7.0.2 (if it was ever pushed out live) but broke with 7.0.3

Thanks,

Sean


jherrieven

User  
0 rated :

Hey Sean,

Do you have control over the code contained within this file:

http://www.cox7.com/wp-content/themes/videotube/assets/js/functions.js?ver=4.2.4

What you need to do is to replace this line:

$('.videoWrapper').fitVids();

with this line:

$('.videoWrapper').fitVids({ ignore: '.jwplayer'});

Or ideally, remove the line completely.

Hopefully that will resolve the issue.

James Herrieven

===================================================
Powered by Haiku
http://powered-by-haiku.co.uk/
---------------------------------------------------
Tatami for Online Video
http://dev.powered-by-haiku.co.uk/solutions/tatami/
---------------------------------------------------
skype: JamesHerrieven
email: james[at]haiku[dot]co[dot]uk
===================================================

jherrieven

User  
0 rated :

PS: The Ad tag is coming from the "defaults" setting in your JW Player library file.

James

jherrieven

User  
0 rated :

PPS: The reason JW7.0.1 was working is because you weren't actually loading the HLS stream - since "primary" is set to "HTML5" in your defaults, it would fallback to one of the MP4s.

The change that JW7.0.3 makes is to try and honour the order of your sources, thereby loading the HLS source (using Flash) even though you've specified "primary":"html5".

James

Alex

JW Player Support Agent  
0 rated :

Hi, Sean.

Have you tried altering or removing the line in your functions.js script as James recommended?

sean.ogorman

User  
0 rated :

Sorry Alex, I was out of the office for the last few days.

Yes I removed the code as recommended and it works now.

I appreciate the help and support.

Sean

Alex

JW Player Support Agent  
0 rated :

No problem!

This question has received the maximum number of answers.