The Most Active and Friendliest
Affiliate Marketing Community Online!

“Propeller”/  Direct Affiliate

I need help

Raxxer

New Member
HOw Do I seperate the rightside video to other page "Page2"



<div id="container">
<video id="leftVideo" playsinline autoplay >
<source src="../../../video/chrome.webm" type="video/webm"/>
<source src="video/u.mp4" type="video/mp4"/>
</video>
<video id="rightVideo" playsinline autoplay autoplay="autoplay"></video>
</div>
<script src="jsjs" async></script>



Js

'use strict';

const leftVideo = document.getElementById('leftVideo');
const rightVideo = document.getElementById('rightVideo');

leftVideo.addEventListener('canplay', () => {
let stream;
const fps = 0;
if (leftVideo.captureStream) {
stream = leftVideo.captureStream(fps);
} else if (leftVideo.mozCaptureStream) {
stream = leftVideo.mozCaptureStream(fps);
} else {
console.error('Stream capture is not supported');
stream = null;
}
rightVideo.srcObject = stream;
 
Been wayyyy too may years since I did any programming but this post will give yours a bump. :)
 
HOw Do I seperate the rightside video to other page "Page2"



<div id="container">
<video id="leftVideo" playsinline autoplay >
<source src="../../../video/chrome.webm" type="video/webm"/>
<source src="video/u.mp4" type="video/mp4"/>
</video>
<video id="rightVideo" playsinline autoplay autoplay="autoplay"></video>
</div>
<script src="jsjs" async></script>



Js

'use strict';

const leftVideo = document.getElementById('leftVideo');
const rightVideo = document.getElementById('rightVideo');

leftVideo.addEventListener('canplay', () => {
let stream;
const fps = 0;
if (leftVideo.captureStream) {
stream = leftVideo.captureStream(fps);
} else if (leftVideo.mozCaptureStream) {
stream = leftVideo.mozCaptureStream(fps);
} else {
console.error('Stream capture is not supported');
stream = null;
}
rightVideo.srcObject = stream;

Although I'm not a developer but discussed this your issue with my mate who maintains the site. He said your code appears to be correct but the is not exactly clear until we have the backend access of your site.
 
banners
Back