Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel authored and daniel committed Jan 13, 2020
1 parent f578567 commit 297600d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/include/embed.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@

//$(".vjs-big-play-button").hide();
$(".vjs-control-bar").css("opacity: 1; visibility: visible;");
if (typeof player === 'undefined') {
//if (typeof player === 'undefined') {
player = videojs('mainVideo', {
"techOrder": ["<?php echo ($_GET['isEmbedded'] == "y") ? "youtube" : "vimeo"; ?>"],
"sources": [{
"type": "video/<?php echo ($_GET['isEmbedded'] == "y") ? "youtube" : "vimeo"; ?>",
"src": "<?php echo $video['videoLink']; ?>"}],
"<?php echo ($_GET['isEmbedded'] == "y") ? "youtube" : "vimeo"; ?>": {"customVars": {"wmode": "transparent", "origin": "<?php echo $global['webSiteRootURL']; ?>"}}});
}
//}
player.ready(function () {
<?php
if ($config->getAutoplay()) {
Expand Down

0 comments on commit 297600d

Please sign in to comment.