info7661
posted this
18 May 2022
Hi
I want to add a video from another url outside Youtube.
When I paste for example the url link from my videoplayerapp.net software below then nothing happens? No preview etc.
Any ideas how to make this work?
Thanks
Chris
var videoPlayerApp = new VideoPlayerApp({
targetClassName: 'videoplayerapp3267',
autoPlay: true,
loop: true,
skin: '',
textPaused: 'Paused',
textEnded: 'Ended',
unmuteText: 'Video is Playing…',
unmuteTextSecondary: 'Click For Sound',
unmuteTextColor: '#ffffff',
playImageUrl: 'https://videoplayerapp.net/assets/js/video-player/play-circle.png',
lottieFileUrl: 'https://videoplayerapp.net/assets/js/video-player/lottie/01.json',
lotteAnimationElementColors: ['#3f72af', '#112d4e', '#112d4e'],
lottieAnimationColorsMapping: [0,1],
autoPlayShakeAnimation: false,
colorBars: '#3f72af',
colorPlayButton: '#3f72af',
colorProgressBarTotal: 'rgba(255,255,255,0.65)',
colorProgressBar: '#112d4e',
colorOverlayText: 'rgba(0,0,0,0.75)',
watermarkSize: 150,
remoteBaseUrl: 'https://videoplayerapp.net/assets/js/video-player/'
});
<div class="videoplayerapp3267" data-youtube-id="eGiiR9dofYM" data-position="absolute" data-height="100%"></div>
Hi
**I want to add a video from another url outside Youtube**.
When I paste for example the url link from my videoplayerapp.net software below then nothing happens? No preview etc.
Any ideas how to make this work?
Thanks
Chris
var videoPlayerApp = new VideoPlayerApp({
targetClassName: 'videoplayerapp3267',
autoPlay: true,
loop: true,
skin: '',
textPaused: 'Paused',
textEnded: 'Ended',
unmuteText: 'Video is Playing…',
unmuteTextSecondary: 'Click For Sound',
unmuteTextColor: '#ffffff',
playImageUrl: 'https://videoplayerapp.net/assets/js/video-player/play-circle.png',
lottieFileUrl: 'https://videoplayerapp.net/assets/js/video-player/lottie/01.json',
lotteAnimationElementColors: ['#3f72af', '#112d4e', '#112d4e'],
lottieAnimationColorsMapping: [0,1],
autoPlayShakeAnimation: false,
colorBars: '#3f72af',
colorPlayButton: '#3f72af',
colorProgressBarTotal: 'rgba(255,255,255,0.65)',
colorProgressBar: '#112d4e',
colorOverlayText: 'rgba(0,0,0,0.75)',
watermarkSize: 150,
remoteBaseUrl: 'https://videoplayerapp.net/assets/js/video-player/'
});
<div class="videoplayerapp3267" data-youtube-id="eGiiR9dofYM" data-position="absolute" data-height="100%"></div>
Vote to pay developers attention to this features or issue.