Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTVNetworks problem seems to be back in Safari 8 #86

Closed
MatthewMDavis opened this issue Oct 17, 2014 · 9 comments
Closed

MTVNetworks problem seems to be back in Safari 8 #86

MatthewMDavis opened this issue Oct 17, 2014 · 9 comments

Comments

@MatthewMDavis
Copy link

@MatthewMDavis MatthewMDavis commented Oct 17, 2014

The workaround described in the issue thread linked below is not working as of my install last night of Yosemite:

#75

@hoyois
Copy link
Owner

@hoyois hoyois commented Oct 17, 2014

That's quite unfortunate. Right now I don't know any other URL for these videos. It's very strange that Safari 7.1 is the only version that can play encrypted HLS streams...

A workaround is to copy the URL from the source selector and open it in QuickTime Player.

@trustoryson
Copy link

@trustoryson trustoryson commented Oct 23, 2014

Another work-around instead of dealing with low res in QT player is as follows:

  1. Load CC/MTV episode page (i.e. daily show/colbert).
  2. Wait for HTML5 placeholder to overtake flash.
  3. Click the HTML5 placeholder, although the video does not load natively in HLS as noted above.
  4. Then select QT (or AirPlay), the new browser window opens (or stream begins on AirPlay device)
  5. Let the scrub bar at least show on the new window (~.5s), then you close that QT window.
  6. Reload the initial page, then the HLS stream will work as it should.

The fix also seems to last until you quit safari.

hoyois, does this make sense? It is definitely replicable for me, on Yosemite Safari 8. This behavior only began occurring after upgrading to Yosemite.

@hoyois
Copy link
Owner

@hoyois hoyois commented Oct 23, 2014

That's an interesting find, thanks! The video plays fine in Safari 8 if you navigate directly to the video URL (which you can do by right-clicking on "HLS" in the source selector and choosing "Open Link in New Tab"). The resolution actually goes to 720p there, though the viewing area remains small.
And indeed, if you do this once then all CC websites will then work as expected.

I'll investigate further.

@hoyois
Copy link
Owner

@hoyois hoyois commented Oct 23, 2014

The difference seems to be that when you navigate to the video in Safari directly, it sets a session cookie like

hdnea2 expires=1414160821~access=/*~md5=813e49cf1a576ee74e7b126f48b1f143 .cp112366-f.akamaihd.net / Session 71 B

Somehow when the m3u8 file is embedded in a video element, Safari 8 fails to do this (but Safari 7.1 doesn't...). Once the cookie has been set though, the HLS streams will work for the duration of the session.

@hoyois
Copy link
Owner

@hoyois hoyois commented Oct 31, 2014

I found no solution so far. I reported the bug to Apple.

@trustoryson
Copy link

@trustoryson trustoryson commented Oct 31, 2014

Thanks for the update, at least in the interim we can go through the steps above and still not have to deal with Flash!

@hoyois
Copy link
Owner

@hoyois hoyois commented Nov 22, 2014

I have updated the MTVNetworks killer. It's back to using full MP4 files instead of HLS, so it should work much better. Please try it and let me know how it goes:

https://raw.githubusercontent.com/hoyois/plugin-to-html5/master/MTVNetworks.js

@MatthewMDavis
Copy link
Author

@MatthewMDavis MatthewMDavis commented Nov 22, 2014

That's got The Daily Show working for me without any workarounds. Huzzah!

@hoyois
Copy link
Owner

@hoyois hoyois commented Dec 6, 2014

@MatthewMDavis Thanks for the feedback. I will update the extension with the new killer shortly.

@hoyois hoyois closed this Dec 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.