ウィスティアのビデオが再生モードに設定された後で、ビデオタグを探すことができます。彼らの文書ではこれのための別の解決策はありません。
// get wistia video object through their api
var wistiaVideo = Wistia.api('your video id');
$('#your-custom-play-button').on('click', function() {
wistiaVideo.play();
// now just look for video tag inside wistia video container
var video = $('.your-video-container').find('video')[0];
// check whether your browser has ability to run it in fullscreen mode
if (video.requestFullscreen) {
video.requestFullscreen();
} else if (video.mozRequestFullScreen) {
video.mozRequestFullScreen();
} else if (video.webkitRequestFullscreen) {
video.webkitRequestFullscreen();
} else if (video.webkitEnterFullscreen) {
video.webkitEnterFullscreen();
}
});
: を見てみましょう