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)

defect

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
Is this youtube? Is this e.me? Is this the Video app? Blocking since common case is broken - watch youtube videos.
blocking-basecamp: ? → +
(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.
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?
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]
Assignee: nobody → dale
Dale please could you comment that ?
Flags: needinfo?(dale)
Priority: -- → P1
Flags: needinfo?(dale)
Depends on: 802465
Depends on: 802466
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: dale → nobody
Assignee: nobody → dale
Tracking bugs resolved, tested and it works now
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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.