Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

Can't play video in youtube through webviewx #22

Closed
Katekko opened this issue Jun 23, 2021 · 2 comments
Closed

Can't play video in youtube through webviewx #22

Katekko opened this issue Jun 23, 2021 · 2 comments

Comments

@Katekko
Copy link

Katekko commented Jun 23, 2021

When I try I receive this:

Error: URI is missing protocol: about:srcdoc
    at wh (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:422:311)
    at Eh (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:441:42)
    at VK.vv.ww (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:6520:174)
    at VK.ww (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:7204:390)
    at baa.l (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:3025:281)
    at Aa (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:55:40)
    at daa.next (https://www.youtube.com/s/player/2fa3f946/player_ias.vflset/en_US/base.js:56:92)
@adrianflutur
Copy link
Owner

adrianflutur commented Jul 26, 2021

Hi, you should be able to play youtube videos by using the embed feature of the youtube player, along with SourceType: URL.
E.g.

https://www.youtube.com/embed/qrFTt1NZed8

@adrianflutur
Copy link
Owner

The solution above works just file for SourceType.url.
If you want to use the normal youtube page (not /embed/), you can try again now with SourceType.urlBypass because there were a number of fixes and new features added, and it might work.
Check them all out here: #26
Also check out this explaination here #27
Closing this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants