caution
This page has been deprecated.
We've released a new version of pages with some improvements and smoother experience.
Here is the link of each SDK for this page.
Play External Video
This feature allows participants to broadcast any external video by providing video link. Like screen share feature, one participant is broadcasting and other participants are receivers.
This guide will provide an overview of how participant can start, stop, resume and seek external video during the meeting.
- Start : By using
startVideo()
function, the broadcaster can start external video by providing video link in argument. - Stop : By using
stopVideo()
function, a broadcaster can stop external video. - Pause : By using
pauseVideo()
function, a broadcaster can pause external video by providing{ currentTime: 5 }
object as an argument. - Resume : By using
resumeVideo()
function, a broadcaster can resume external video from last pause video duration. - Seek : By using
seekVideo()
function, a broadcaster can seek external video to any given duration by providing{ currentTime: 5 }
object as an argument.
Start, Stop, Pause, Resume, and Seek External Video
- JavaScript
- React
- ReactNative
- Android
- IOS
- Flutter
const onPress = () => {
// Start Video
meeting?.startVideo({
link: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
});
// Stop Video
meeting?.stopVideo();
// Pause Video
meeting?.pauseVideo({ currentTime: 5 });
// Resume Video
meeting?.resumeVideo();
// Seek Video
meeting?.seekVideo({ currentTime: 10 });
};
const onPress = () => {
// Start Video
meeting?.startVideo({
link: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
});
// Stop Video
meeting?.stopVideo();
// Pause Video
meeting?.pauseVideo({ currentTime: 5 });
// Resume Video
meeting?.resumeVideo();
// Seek Video
meeting?.seekVideo({ currentTime: 10 });
};
const onPress = () => {
// Start Video
meeting?.startVideo({
link: "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
});
// Stop Video
meeting?.stopVideo();
// Pause Video
meeting?.pauseVideo({ currentTime: 5 });
// Resume Video
meeting?.resumeVideo();
// Seek Video
meeting?.seekVideo({ currentTime: 10 });
};
COMING SOON!
COMING SOON!
COMING SOON!
Got a Question? Ask us on discord