Opened 7 months ago

Last modified 3 months ago

#16535 new bug

Youtube playback and decoding issue

Reported by: cocobean Owned by: pulkomandy
Priority: high Milestone: Unscheduled
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 6 months ago.
WebCore MediaPlayerPrivate build issue

Download all attachments as: .zip

Change History (4)

by cocobean, 6 months ago

WebCore MediaPlayerPrivate build issue

comment:1 by cocobean, 6 months ago

haikuwebkit-1.7.1-1 reproduced the 'supported media formats' build issue on hrev54662. Issue with GCC 8.3.0 unique_ptr usage from MediaPlayerPrivateHaiku.cpp.

Last edited 6 months ago by cocobean (previous) (diff)

comment:2 by pulkomandy, 3 months 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 months ago

Component: Applications/WebPositiveKits/Web Kit
Note: See TracTickets for help on using tickets.