Skip to content
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

how to play video from youtube #172

Closed
adjadtea opened this issue Apr 22, 2018 · 1 comment
Closed

how to play video from youtube #172

adjadtea opened this issue Apr 22, 2018 · 1 comment

Comments

@adjadtea
Copy link

is it possible to play video from youtube as slideshow using vegas?

$('body').vegas({
delay: 7000,
timer: false,
shuffle: true,
firstTransition: 'fade',
firstTransitionDuration: 5000,
transition: 'random',
transitionDuration: 2000,
overlay: that.asset_path+'/js/vegas/overlays/02.png',
slides: [
{ src: that.asset_path+'/img/slide/bg.png' },
{
src: that.asset_path+'/img/slide/slide03.png',
video: {
src: [
'https://www.youtube.com/embed/baSosh10LE0?autoplay=1'
],
loop: false,
mute: true
}
},
{ src: that.asset_path+'/img/slide/slide04.png' },
]
});

@jaysalvat
Copy link
Owner

Hello,

Youtube video needs a youtube embeded player.
So this is not possible, sorry.

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

No branches or pull requests

2 participants