Closed michaelbeil closed 9 years ago
When changing to a different video source, the video component does not show changes in real-time.
The default is Vimeo, so changing to a different Vimeo video ID (or from any other video source) is fine: https://github.com/AesopInteractive/lasso/blob/master/public/includes/components.php#L214.
So, to see a change in the video source, it requires a save, and then a page refresh.
We currently set Vimeo:
if ( iSrc.hasClass('vimeo') ) { component.find('iframe').attr('src', '//player.vimeo.com/video/'+src+' ') } else if ( iSrc.hasClass('youtube') ) { component.find('iframe').attr('src', '//www.youtube.com/embed/'+src+'?rel=0&wmode=transparent') }
https://github.com/AesopInteractive/lasso/blob/master/public/assets/js/source/settings-live-editing.js#L230-L234
:100:
When changing to a different video source, the video component does not show changes in real-time.
The default is Vimeo, so changing to a different Vimeo video ID (or from any other video source) is fine: https://github.com/AesopInteractive/lasso/blob/master/public/includes/components.php#L214.
So, to see a change in the video source, it requires a save, and then a page refresh.
We currently set Vimeo:
https://github.com/AesopInteractive/lasso/blob/master/public/assets/js/source/settings-live-editing.js#L230-L234