-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider using a different video player #78
Comments
Seems interesting. It will be great to see if this can also play those music videos which can't be played through embed links. |
@poush Not sure If it’s able to, YouTube might just be restricting what domains the videos can be played from. |
I am not sure but if we play such videos through codepen, it works.
…On Thu 25 Oct, 2018, 3:28 PM Saska Kolehmainen, ***@***.***> wrote:
@poush <https://github.com/poush> Not sure If it’s able to, YouTube might
just be restricting what domains the videos can be played from.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABumcl6OhuytLSHr2a44KvtG8_yy-SNdks5uoYs8gaJpZM4X2NoH>
.
|
I have tried implementing Plyr on H2 and it didn't some the issue "Video Unavailable". It has to do with certain videos being embedded in a localhost as opposite to a web server. |
@iblacker Do you think it would work with a locally hosted web server? |
I don't think it would. I can look into it later, though. Those videos work if you open the video's page, but not when it is embedded. |
The only way I could think right now is to open the youtube page directly for such videos and zoom on video player. |
Perhaps it would be worth considering using a video player other than YouTube's iframe API.
One that I found recently is called Plyr. (I haven't tried it myself though, so can't confirm if it's suitable.) The advantage would be more control over the look of the player, and if the player supports different video sources(Plyr apparently supports YT, Vimeo, and HTML5 video) the APIs to control the playback would be standardised (so no writing separate code to control YouTube video versus an HTML5 video link for example)
The text was updated successfully, but these errors were encountered: