We have moved to a new Sailfish OS Forum. Please start new discussions there.
45

[bug] Youtube videos not playing on browser [released]

Tracked by Jolla (In release)

asked 2015-08-21 12:31:27 +0200

Toxip gravatar image

updated 2016-08-17 11:29:47 +0200

jiit gravatar image

I get an error on the new youtube mobile site saying that "vnd.youtube is not a registered protocol or is not allowed in this context". Seems like it's using its own uri that sailfish browser can't handle. This is probably youtube's fault but maybe we can do something about it.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by raketti
close date 2015-08-27 14:18:42.282795

Comments

3

Seems to be a problem related to the YouTube mobile site. Tested some videos from the front page in the desktop version of the site and those played without any problems. Also videos with the YTplayer seems to be working still. So this indeed seems to be a Sailfish Browser related issue only.

raketti ( 2015-08-21 13:37:12 +0200 )edit

Yes and then it says "Nightly can't load this page for some reason" ??

Pim ( 2015-08-21 13:38:11 +0200 )edit

4 Answers

Sort by » oldest newest most voted
31

answered 2015-08-23 00:06:59 +0200

tworaz gravatar image

The problem is that youtube seems to have changed it's browser user agent recognition code again. As a result sailfish-browser now gets youtube version that expects it can launch native android youtube client via vnd.youtube protocol intent. To solve the problem we'll need to tweak browser UA to make youtube recognize us as a mobile browser that wants to receive content suitable for playback via HTML5 video element.

edit flag offensive delete publish link more

Comments

2

Makes sense, thanks for the answer, keep up the good work!

Toxip ( 2015-08-23 01:22:44 +0200 )edit
6

If anybody is interested the fix can be found here https://github.com/tmeshkova/embedlite-components/pull/80.

tworaz ( 2015-08-23 18:01:34 +0200 )edit
4

answered 2015-08-27 14:18:28 +0200

raketti gravatar image

Since the update for this bug is being rolled out (see the release notes post) I'll close this one. If the problem re-appears (or don't disappear), feel free to open this question.

edit flag offensive delete publish link more

Comments

Doesn't work for me despite upgrade to 1.1.7.28. All I get is "Video format or MIME type is not supported."

1chb ( 2015-09-08 02:38:38 +0200 )edit

Just tried some random videos in YouTube and all played fine. However I can't use WebPirate to play videos. Are you using the Sailfish browser? And the mobile version of YouTube?

raketti ( 2015-09-08 10:41:45 +0200 )edit
1

answered 2015-08-22 09:55:47 +0200

vm5 gravatar image

Same issue, I can see any video on youtube, o.s. 1.1.7.27

edit flag offensive delete publish link more

Comments

Same issue on my Jolla. Any idea to solve this out?

Jsouto ( 2015-08-22 10:38:40 +0200 )edit

Same issue ..

malibu1106 ( 2015-08-22 12:08:37 +0200 )edit
1

While it's not solved, I'm using Dailymotion, and it works perfectly.

Jsouto ( 2015-08-22 23:42:28 +0200 )edit
0

answered 2015-08-24 20:55:56 +0200

Ósanwe gravatar image

There is YTPlayer app in Jolla Harbour. You can use it for views videos on Youtube.

edit flag offensive delete publish link more

Comments

1

I know and I use it but clicking links doesn't open that app so having the possibility to use the web app is necessary.

Toxip ( 2015-08-24 20:57:24 +0200 )edit
1

I know it's not a proper solution, but once you have the video page opened in the browser:

  1. Select the url bar, make sure the whole video link is selected (long press it if needed).
  2. Launch YTPlayer.
  3. On the main page select "Open link from clipboard" from the top pulley menu.
  4. Enjoy your video :)

The UA fix from my original answer has already made it's way to 1.1.7 branch so it should be available soon.

tworaz ( 2015-08-25 12:07:33 +0200 )edit

Question tools

Follow
8 followers

Stats

Asked: 2015-08-21 12:31:27 +0200

Seen: 4,254 times

Last updated: Aug 27 '15