hey guys,
i got a video which have buttons to play, pause and stop
i wanted to add a button to enlarge the video to full screen, is there anyway to do it in JS?
for my buttons i use it like that:
<script type="text/javascript">
function play() {
if (ytplayer) {
ytplayer.playVideo();
}
}
function pause() {
if (ytplayer) {
ytplayer.pauseVideo();
}
}
function stop() {
if (ytplayer) {
ytplayer.stopVideo();
}
}
</script>
thanks