This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// this is the backend code. Use the generated OTP in this file to embed videos using embed code as given on | |
/// https://www.vdocipher.com/page/api | |
let request = require('request'); | |
var api_url = "https://dev.vdocipher.com/api/videos/"; | |
var secret_key = "API_CLIENT_SECRET_KEY"; | |
function getOtp(v) { | |
var options = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$vdo_id = '1234567890'; | |
$theme_id = '9ae8bbe8dd964ddc9bdb932cca1cb59a'; | |
// Custom player skins - https://www.vdocipher.com/blog/2018/10/video-player-themes/ | |
include ('./vdo_embed.php'); | |
echo vdo_embed($vdo_id, $theme_id); //Replace 1234567890 with VideoID | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vc-container .html5-video-player .ytp-chrome-controls .ytp-button[aria-pressed]::after { | |
background-color: #0294f9; | |
} | |
.vc-container .html5-video-player .ytp-swatch-background-color { | |
background-color: #0294f9; | |
} | |
.vc-container .html5-video-player .ytp-cued-thumbnail-overlay:hover .ytp-large-play-button-bg { | |
fill: #0294f9; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vc-container .html5-video-player .ytp-chrome-controls .ytp-button[aria-pressed]::after { | |
background-color: #0294f9; //Edit this | |
} | |
.vc-container .html5-video-player .ytp-swatch-background-color { | |
background-color: #0294f9; //Edit this | |
} | |
.vc-container .html5-video-player .ytp-cued-thumbnail-overlay:hover .ytp-large-play-button-bg { | |
fill: #0294f9; //Edit this |