Files
Testing/include/player/intropage1.php
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

124 lines
7.1 KiB
PHP

<?php
/*error_reporting(E_ALL);
ini_set('display_errors', true);
ini_set("log_errors", 1);
ini_set("error_log", $serverpath."public_html/log/error_log.txt");
*/
require("../include/dbinclude.php");
require("../include/functions_general.php");
$query=$database->database_query("SELECT user_id FROM se_users WHERE user_username='".$database->database_real_escape_string($_GET["user"])."'");
$row=$database->database_fetch_array($query);
$video_info['video_dir'] = get_userdir($row["user_id"]);
?>
<!DOCTYPE html>
<html>
<head>
<style>
body{margin:0px;}
#video{width:200px;}
.ult_vp_playButtonScreen, .ult_vp_embedBtn {display:none!important;}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="css/videoPlayerMain.css" type="text/css">
<link rel="stylesheet" href="css/videoPlayer.theme1.css" type="text/css">
<link rel="stylesheet" href="css/videoPlayer.theme1_Playlist.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="css/font-awesome.css" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
<script src="js/froogaloop.js?sszqs" type="text/javascript"></script>
<script src="js/IScroll4Custom.js?AszqA" type="text/javascript"></script>
<script src='js/THREEx.FullScreen.js?Ssqzs'></script>
<script src="js/videoPlayer.js?sssw2dqszzs" type="text/javascript"></script>
<script src="js/Playlist.js?ssszsq" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
jQuery(document).ready(function($)
{
videoPlayer = jQuery("#video").Video({ //ALL PLUGIN OPTIONS
autohideControls:0, //autohide HTML5 player controls
videoPlayerWidth:200, //total player width
videoPlayerHeight:420, //total player height
responsive:false, //this option will overwrite above videoPlayerWidth/videoPlayerHeight and set player to fit your div (parent) container: true/false
playlist:"Off", //choose playlist type: "Right playlist","Bottom playlist", "Off"
autoplay:false, //autoplay when webpage loads
allowSkip:true, //allow user to skip preroll ads
loadRandomVideoOnStart:"No", //choose to load random video when webpage loads: "Yes", "No"
playVideosRandomly:"No", //choose to shuffle videos when playing one after another: "Yes", "No"
vimeoColor:"F11116", //"hexadecimal value", default vimeo color 00adef
youtubeSkin:"dark", //youtube theme: light,dark
youtubeColor:"red", //youtube color: red, white
youtubeShowRelatedVideos:"Yes", //enable/disable youtube related videos to show when youtube video finish: "Yes", "No"
videoPlayerShadow:"effect1", //choose player shadow: "effect1" , "effect2", "effect3", "effect4", "effect5", "effect6", "off"
posterImg:"<?php echo "../".$video_info['video_dir']."a12541a_thumb.jpg";?>",//player poster image
posterPlayButtonType:"Default", //"Default","Classic","Minimal","Transparent","Silver"
onFinish:"Stop video", //"Play next video","Restart video", "Stop video",
nowPlayingText:"No", //enable disable now playing title: "Yes","No"
fullscreen:"Fullscreen native", //choose fullscreen type: "Fullscreen native","Fullscreen browser"
rightClickMenu:false, //enable/disable right click over player: true/false
shareShow:"No", //enable/disable share option: "Yes","No"
facebookLink:"", //link to go when facebook button clicked
twitterLink:"", //link to go when twitter button clicked
googleplusLink:"",//link to go when google plus button clicked
logoShow:"Yes", //"Yes","No"
logoClickable:"No", //"Yes","No"
logoPath:"/images/watermark1.png", //path to logo image
logoGoToLink:"", //redirect to page when logo clicked
logoPosition:"bottom-right", //choose logo position: "bottom-right","bottom-left"
embedShow:"No", //enable/disable embed option: "Yes","No"
embedCodeSrc:"", //path to your video player on server
embedCodeW:"746", //embed player code width
embedCodeH:"420", //embed player code height
videos:[
{
videoType:"HTML5", //choose video type: "HTML5", "youtube", "vimeo"
title:"", //video title
youtubeID:"", //https://www.youtube.com/watch?v=LfTLc5JGFPc
vimeoID:"", //http://vimeo.com/46515976
mp4:"<?php echo "../".$video_info['video_dir']."a12541a.mp4";?>",//HTML5 video mp4 url
videoAdShow:"no", //show pre-roll "yes","no"
videoAdGotoLink:"", //pre-roll goto link
mp4AD:"", //pre-roll video mp4 format
description:"Video description goes here.", //video description
thumbImg:"<?php echo "../".$video_info['video_dir']."a12541a_thumb.jpg";?>", //path to playlist thumbnail image
info:"", //video info
popupImg:"", //popup image URL
popupAdShow:"no", //enable/disable popup image: "yes","no"
popupAdStartTime:"00:03", //time to show popup ad during playback
popupAdEndTime:"00:10", //time to hide popup ad during playback
popupAdGoToLink:"", //re-direct to URL when popup ad clicked
textAdShow:"no", //enable/disable text ad: "yes","no"
textAd:"",//content of text ad
textAdStartTime:"00:03", //time to show text ad during playback
textAdEndTime:"00:15", //time to hide text ad during playback
textAdGoToLink:"" //re-direct to URL when text ad clicked
}
]
});
});
</script>
</head>
<body>
<!--example: responsive (fit to parent container)-->
<!--<div style="position:fixed;width:80%;height:80%;top:0;left:0;background:#cccccc">-->
<!--<div id="video"></div>-->
<!--</div>-->
<!--example: fixed width, fixed height-->
<div id="video"></div>
</body>
</html>