Closed
Bug 796283
Opened 13 years ago
Closed 13 years ago
[Video App] Can't play Youtube videos
Categories
(Firefox OS Graveyard :: Gaia, defect, P1)
Firefox OS Graveyard
Gaia
Tracking
(blocking-basecamp:+)
VERIFIED
FIXED
| blocking-basecamp | + |
People
(Reporter: ghtobz, Assigned: daleharvey)
References
Details
(Whiteboard: [label:video][label:blocked])
[GitHub issue by tonychung on 2012-09-28T23:03:14Z, https://github.com/mozilla-b2g/gaia/issues/5476]
Redirecting a youtube video to the Video App, will get stopped by the screen that contains thumbnails of video media. And there's no way to proceed with playing the video. Instead, it should bypass this media screen, and go straight to the youtube content.
## Environment :
* Otoro daily: 9-28-2012
* gaia commit: dbe752c2bc61835a92469cb0e35ad5d938a754d5
* gecko commit: 5e9ba780a2f3db83364a87a7b976eafe4ae834b2
## Repro :
1. go to Everything.me or youtube.com
2. search for the youtube app, and play any of the available videos shown
3. An activity is triggered and should launch the Video App
4. Verify the screen with current media content will appear, and block any path from proceeding with the youtube content
## Expected :
* playing a youtube app will launch the video app and start playing the content within the Video player
## Actual :
* Media content landing page blocks the video from proceeding.
[GitHub comment by jds2501 on 2012-09-28T23:29:54Z]
cc @daleharvey and @fabricedesre
Comment 2•13 years ago
|
||
Is this youtube?
Is this e.me?
Is this the Video app?
Blocking since common case is broken - watch youtube videos.
blocking-basecamp: ? → +
Comment 3•13 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #2)
> Is this youtube?
> Is this e.me?
> Is this the Video app?
>
> Blocking since common case is broken - watch youtube videos.
Viewing a youtube video specifically - which results in launching the video in the video app.
Comment 4•13 years ago
|
||
Yes I understand that. Sorry my comment was not clear - I was ruminating on the source of the problem.
eg: does e.me or the shell pull the video direct URL out? or just passes the page URL to Video app via the activity?
Comment 5•13 years ago
|
||
The video app gets the url of the video to play (directly usable in a <video> element) from gecko through an activity.
It's a permissions issue.
10-03 12:21:49.023: E/GeckoConsole(7880): Security Error: Content at moz-nullprincipal:{cc4dec74-8b3c-4c43-b7e3-a5aefd64593b} may not load data from blob:0740a6b9-3239-47c9-9cbc-cf2a78d0f3b7.
10-03 12:21:49.073: E/GeckoConsole(3819): Security Error: Content at moz-nullprincipal:{cc4dec74-8b3c-4c43-b7e3-a5aefd64593b} may not load data from blob:0740a6b9-3239-47c9-9cbc-cf2a78d0f3b7.
Doh. I had to scroll further up my console.
10-03 12:21:42.766: E/GeckoConsole(3819): [JavaScript Warning: "Invalid URI. Load of media resource failed." {file: "app://video.gaiamobile.org/index.html" line: 0}]
10-03 12:21:42.766: E/GeckoConsole(7880): Content JS ERROR at app://video.gaiamobile.org/js/video.js:213 in doneSeeking: Failed to create a poster image: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: app://video.gaiamobile.org/js/video.js :: doneSeeking :: line 210" data: no]
10-03 12:21:42.776: E/GeckoConsole(3819): Content JS ERROR at app://video.gaiamobile.org/js/video.js:213 in doneSeeking: Failed to create a poster image: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: app://video.gaiamobile.org/js/video.js :: doneSeeking :: line 210" data: no]
Updated•13 years ago
|
Assignee: nobody → dale
Updated•13 years ago
|
Priority: -- → P1
| Assignee | ||
Updated•13 years ago
|
Flags: needinfo?(dale)
| Assignee | ||
Comment 10•13 years ago
|
||
It looks like something has changed on the youtube side
E/GeckoConsole( 468): [JavaScript Warning: "HTTP load failed with status 403. Load of media resource http://o-o---preferred---sn-aigeznek---v22---lscache5.c.youtube.com/videoplayback?upn=dWgyj7BzSc8&sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=909528%2C916806%2C927104%2C922401%2C920704%2C912806%2C927201%2C913546%2C913556%2C925109%2C919003%2C916805%2C912706%2C900816%2C911112&key=yt1&expire=1350429252&itag=37&ipbits=8&sver=3&ratebypass=yes&mt=1350405015&ip=87.194.154.176&mv=m&source=youtube&ms=au&cp=U0hURVRNV19KTENONF9MR0FDOmU0UnRaN3lFYWsw&id=2e58eac3bb848c30&newshard=yes failed." {file: "app://video.gaiamobile.org/index.html" line: 0}]
| Assignee | ||
Comment 11•13 years ago
|
||
I have created 2 bugs, this was caused by a change to the youtube API that required a new parameter. Thats one of the bugs and it has a fix attached.
When I fixed that one the video refused to play as it couldnt be decoded, that may be an issue with my hardware but filed a bug in case
| Assignee | ||
Updated•13 years ago
|
Assignee: dale → nobody
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dale
| Assignee | ||
Comment 12•13 years ago
|
||
Tracking bugs resolved, tested and it works now
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 13•13 years ago
|
||
Verified on 10/29 build that user can follow the steps above - clicking a video on youtube and having it play with the video app.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•