Opened 4 years ago

Closed 3 years ago

#16535 closed bug (fixed)

Youtube playback and decoding issue

Reported by: cocobean Owned by: pulkomandy
Priority: high Milestone: R1/beta3
Component: Kits/Web Kit Version: R1/beta2
Keywords: webpositive, youtube Cc:
Blocked By: Blocking:
Platform: All

Description

WebPositive does not accurately render the Youtube video controls and no longer does Youtube video/audio (MP4 (H.264/AAC), WebM (vp8/vp9)) playback. Non Youtube video/audio playback happened after R1B2 release (videos still work in other browsers).

Attachments (1)

Youtube_WebPositive_issue.txt (11.2 KB ) - added by cocobean 3 years ago.
WebCore MediaPlayerPrivate build issue

Download all attachments as: .zip

Change History (5)

by cocobean, 3 years ago

WebCore MediaPlayerPrivate build issue

comment:1 by cocobean, 3 years ago

haikuwebkit-1.7.1-1 reproduced the 'supported media formats' build issue on hrev54662.

Version 0, edited 3 years ago by cocobean (next)

comment:2 by pulkomandy, 3 years ago

It seems Youtube has dropped support for using normal html5 <video> tag and instead uses media source extensions.

https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API

The original idea of <video> is that the website would just give the URL to a media file, and the web browser would handle playing it (leaving us with the responsibility of buffering the data, handling seeking, etc).

MSE moves a lot of this into javascript code of the website. Which means it is no more a simple wiring of WebKit with the media kit.

Currently MSE is disabled in our builds of WebKit. They should be enabled (turn https://github.com/haiku/webkit/blob/rebased/Source/cmake/OptionsHaiku.cmake#L82 to ON) and then fixed so that they actually work (I think I had the code building at some point, but it was not working, so we had disabled it to revert to the basic video support, which, at the time, was working better)

comment:3 by pulkomandy, 3 years ago

Component: Applications/WebPositiveKits/Web Kit

comment:4 by pulkomandy, 3 years ago

Milestone: UnscheduledR1/beta3
Resolution: fixed
Status: newclosed

Video playback is fixed in hrev55181.

Note: See TracTickets for help on using tickets.