vue-plyr
vue-plyr copied to clipboard
Play youtube video as audio
Hi, I want to know if there is a way to play a youtube video like an audio, I just want the audio to be played, paused, change the playing second, and all the settings your player now provides, but without the video.
If this is not possible I want to know if i can hide the video title and settings like share or watch latter, the reason is that I dont want the end user to find the video in youtube and enable captions, because I need the audio for a a listening test.
I hope you could help me.
An small fix I've found is adding the following styles:
/deep/ {
/* This code is to hide the video title and sharing settings from youtube embed*/
.plyr__video-embed iframe {
top: -50%;
height: 200%;
}
.plyr--playing {
.plyr__title_bar {
display: none;
}
}
}
An small fix I've found is adding the following styles:
/deep/ { /* This code is to hide the video title and sharing settings from youtube embed*/ .plyr__video-embed iframe { top: -50%; height: 200%; } .plyr--playing { .plyr__title_bar { display: none; } } }
By doing this you are still playing the video content, you could try this NuxTube You have the option to play the audio only or if you want you can watch the video using vue-plyr. I don't know if this is allowed.