300 lines
10 KiB
PHP
300 lines
10 KiB
PHP
<?php
|
|
|
|
|
|
|
|
|
|
//if($_GET["show"]=="videos")
|
|
{
|
|
|
|
?>
|
|
<link rel="stylesheet" type="text/css" href="content/global.css">
|
|
|
|
|
|
<script type="text/javascript" src="/include/videoplayer/start/java/FWDUVPlayer.js"></script>
|
|
|
|
<!-- Setup video player-->
|
|
<script type="text/javascript">
|
|
FWDUVPUtils.onReady(function(){
|
|
|
|
new FWDUVPlayer({
|
|
//main settings
|
|
instanceName:"player1",
|
|
parentId:"myDiv",
|
|
playlistsId:"playlists",
|
|
mainFolderPath:"/include/videoplayer/start/content",
|
|
skinPath:"classic_skin_dark",
|
|
displayType:"responsive",
|
|
initializeOnlyWhenVisible:"no",
|
|
useVectorIcons:"no",
|
|
fillEntireVideoScreen:"no",
|
|
fillEntireposterScreen:"yes",
|
|
goFullScreenOnButtonPlay:"no",
|
|
playsinline:"yes",
|
|
privateVideoPassword:"428c841430ea18a70f7b06525d4b748a",
|
|
youtubeAPIKey:"",
|
|
useHEXColorsForSkin:"no",
|
|
normalHEXButtonsColor:"#666666",
|
|
googleAnalyticsTrackingCode:"",
|
|
useResumeOnPlay:"no",
|
|
useDeepLinking:"yes",
|
|
showPreloader:"yes",
|
|
preloaderBackgroundColor:"#000000",
|
|
preloaderFillColor:"#FFFFFF",
|
|
addKeyboardSupport:"yes",
|
|
autoScale:"yes",
|
|
showButtonsToolTip:"yes",
|
|
stopVideoWhenPlayComplete:"no",
|
|
playAfterVideoStop:"no",
|
|
autoPlay:"yes",
|
|
loop:"no",
|
|
shuffle:"no",
|
|
showErrorInfo:"yes",
|
|
maxWidth:1160,
|
|
maxHeight:552,
|
|
volume:.8,
|
|
buttonsToolTipHideDelay:1.5,
|
|
backgroundColor:"#000000",
|
|
videoBackgroundColor:"#000000",
|
|
posterBackgroundColor:"#000000",
|
|
buttonsToolTipFontColor:"#5a5a5a",
|
|
//logo settings
|
|
showLogo:"yes",
|
|
hideLogoWithController:"no",
|
|
logoPosition:"topRight",
|
|
logoLink:"",
|
|
logoPath:"/images/watermark1.png",
|
|
logoMargins:10,
|
|
//playlists/categories settings
|
|
showPlaylistsSearchInput:"no",
|
|
usePlaylistsSelectBox:"no",
|
|
showPlaylistsButtonAndPlaylists:"no",
|
|
showPlaylistsByDefault:"no",
|
|
thumbnailSelectedType:"opacity",
|
|
startAtPlaylist:0,
|
|
buttonsMargins:15,
|
|
thumbnailMaxWidth:350,
|
|
thumbnailMaxHeight:350,
|
|
horizontalSpaceBetweenThumbnails:40,
|
|
verticalSpaceBetweenThumbnails:40,
|
|
inputBackgroundColor:"#333333",
|
|
inputColor:"#999999",
|
|
//playlist settings
|
|
showPlaylistButtonAndPlaylist:"yes",
|
|
playlistPosition:"right",
|
|
showPlaylistByDefault:"yes",
|
|
showPlaylistName:"yes",
|
|
showSearchInput:"no",
|
|
showLoopButton:"yes",
|
|
showShuffleButton:"yes",
|
|
showPlaylistOnFullScreen:"no",
|
|
showNextAndPrevButtons:"yes",
|
|
showThumbnail:"yes",
|
|
forceDisableDownloadButtonForFolder:"yes",
|
|
addMouseWheelSupport:"yes",
|
|
startAtRandomVideo:"no",
|
|
stopAfterLastVideoHasPlayed:"no",
|
|
addScrollOnMouseMove:"no",
|
|
randomizePlaylist:'no',
|
|
folderVideoLabel:"VIDEO ",
|
|
playlistRightWidth:310,
|
|
playlistBottomHeight:380,
|
|
startAtVideo:0,
|
|
maxPlaylistItems:50,
|
|
thumbnailWidth:71,
|
|
thumbnailHeight:71,
|
|
spaceBetweenControllerAndPlaylist:1,
|
|
spaceBetweenThumbnails:1,
|
|
scrollbarOffestWidth:10,
|
|
scollbarSpeedSensitivity:.5,
|
|
playlistBackgroundColor:"#000000",
|
|
playlistNameColor:"#FFFFFF",
|
|
thumbnailNormalBackgroundColor:"#1b1b1b",
|
|
thumbnailHoverBackgroundColor:"#313131",
|
|
thumbnailDisabledBackgroundColor:"#272727",
|
|
searchInputBackgroundColor:"#000000",
|
|
searchInputColor:"#bdbdbd",
|
|
youtubeAndFolderVideoTitleColor:"#FFFFFF",
|
|
folderAudioSecondTitleColor:"#999999",
|
|
youtubeOwnerColor:"#bdbdbd",
|
|
youtubeDescriptionColor:"#bdbdbd",
|
|
mainSelectorBackgroundSelectedColor:"#FFFFFF",
|
|
mainSelectorTextNormalColor:"#FFFFFF",
|
|
mainSelectorTextSelectedColor:"#000000",
|
|
mainButtonBackgroundNormalColor:"#212021",
|
|
mainButtonBackgroundSelectedColor:"#FFFFFF",
|
|
mainButtonTextNormalColor:"#FFFFFF",
|
|
mainButtonTextSelectedColor:"#000000",
|
|
//controller settings
|
|
showController:"yes",
|
|
showControllerWhenVideoIsStopped:"yes",
|
|
showNextAndPrevButtonsInController:"no",
|
|
showRewindButton:"yes",
|
|
showPlaybackRateButton:"yes",
|
|
showVolumeButton:"yes",
|
|
|
|
showTime:"yes",
|
|
showQualityButton:"yes",
|
|
showInfoButton:"no",
|
|
showDownloadButton:"no",
|
|
showShareButton:"no",
|
|
showEmbedButton:"no",
|
|
showChromecastButton:"yes",
|
|
showFullScreenButton:"yes",
|
|
disableVideoScrubber:"no",
|
|
showScrubberWhenControllerIsHidden:"yes",
|
|
showMainScrubberToolTipLabel:"yes",
|
|
showDefaultControllerForVimeo:"no",
|
|
repeatBackground:"no",
|
|
controllerHeight:42,
|
|
controllerHideDelay:3,
|
|
startSpaceBetweenButtons:10,
|
|
spaceBetweenButtons:10,
|
|
scrubbersOffsetWidth:2,
|
|
mainScrubberOffestTop:16,
|
|
timeOffsetLeftWidth:2,
|
|
timeOffsetRightWidth:3,
|
|
timeOffsetTop:0,
|
|
volumeScrubberHeight:80,
|
|
volumeScrubberOfsetHeight:12,
|
|
timeColor:"#bdbdbd",
|
|
youtubeQualityButtonNormalColor:"#bdbdbd",
|
|
youtubeQualityButtonSelectedColor:"#FFFFFF",
|
|
scrubbersToolTipLabelBackgroundColor:"#FFFFFF",
|
|
scrubbersToolTipLabelFontColor:"#5a5a5a",
|
|
//advertisement on pause window
|
|
aopwTitle:"Advertisement",
|
|
aopwWidth:400,
|
|
aopwHeight:240,
|
|
aopwBorderSize:6,
|
|
aopwTitleColor:"#FFFFFF",
|
|
//subtitle
|
|
subtitlesOffLabel:"Subtitle off",
|
|
//popup add windows
|
|
showPopupAdsCloseButton:"yes",
|
|
//embed window and info window
|
|
embedAndInfoWindowCloseButtonMargins:15,
|
|
borderColor:"#333333",
|
|
mainLabelsColor:"#FFFFFF",
|
|
secondaryLabelsColor:"#bdbdbd",
|
|
shareAndEmbedTextColor:"#5a5a5a",
|
|
inputBackgroundColor:"#000000",
|
|
inputColor:"#FFFFFF",
|
|
//login
|
|
playIfLoggedIn:"no",
|
|
playIfLoggedInMessage:"Please <a href='https://google.com' target='_blank'>login</a> to play this video.",
|
|
//audio visualizer
|
|
audioVisualizerLinesColor:"#0099FF",
|
|
audioVisualizerCircleColor:"#FFFFFF",
|
|
//lightbox settings
|
|
closeLightBoxWhenPlayComplete:"no",
|
|
lightBoxBackgroundOpacity:.6,
|
|
lightBoxBackgroundColor:"#000000",
|
|
//sticky on scroll
|
|
stickyOnScroll:"no",
|
|
stickyOnScrollShowOpener:"yes",
|
|
stickyOnScrollWidth:"700",
|
|
stickyOnScrollHeight:"394",
|
|
//sticky display settings
|
|
showOpener:"yes",
|
|
showOpenerPlayPauseButton:"yes",
|
|
verticalPosition:"bottom",
|
|
horizontalPosition:"center",
|
|
showPlayerByDefault:"yes",
|
|
animatePlayer:"yes",
|
|
openerAlignment:"right",
|
|
mainBackgroundImagePath:"/include/videoplayer/start/content/minimal_skin_dark/main-background.png",
|
|
openerEqulizerOffsetTop:-1,
|
|
openerEqulizerOffsetLeft:3,
|
|
offsetX:0,
|
|
offsetY:0,
|
|
//playback rate / speed
|
|
defaultPlaybackRate:1, //0.25, 0.5, 1, 1.25, 1.2, 2
|
|
//cuepoints
|
|
executeCuepointsOnlyOnce:"no",
|
|
//annotations
|
|
showAnnotationsPositionTool:"no",
|
|
//ads
|
|
openNewPageAtTheEndOfTheAds:"no",
|
|
adsButtonsPosition:"left",
|
|
skipToVideoText:"You can skip to video in: ",
|
|
skipToVideoButtonText:"Skip Ad",
|
|
adsTextNormalColor:"#bdbdbd",
|
|
adsTextSelectedColor:"#FFFFFF",
|
|
adsBorderNormalColor:"#444444",
|
|
adsBorderSelectedColor:"#FFFFFF",
|
|
//a to b loop
|
|
useAToB:"yes",
|
|
atbTimeBackgroundColor:"transparent",
|
|
atbTimeTextColorNormal:"#888888",
|
|
atbTimeTextColorSelected:"#FFFFFF",
|
|
atbButtonTextNormalColor:"#888888",
|
|
atbButtonTextSelectedColor:"#FFFFFF",
|
|
atbButtonBackgroundNormalColor:"#FFFFFF",
|
|
atbButtonBackgroundSelectedColor:"#000000",
|
|
//thumbnails preview
|
|
thumbnailsPreviewWidth:196,
|
|
thumbnailsPreviewHeight:110,
|
|
thumbnailsPreviewBackgroundColor:"#000000",
|
|
thumbnailsPreviewBorderColor:"#666",
|
|
thumbnailsPreviewLabelBackgroundColor:"#666",
|
|
thumbnailsPreviewLabelFontColor:"#FFF",
|
|
// context menu
|
|
showContextmenu:'yes',
|
|
showScriptDeveloper:"no",
|
|
contextMenuBackgroundColor:"#1f1f1f",
|
|
contextMenuBorderColor:"#1f1f1f",
|
|
contextMenuSpacerColor:"#333",
|
|
contextMenuItemNormalColor:"#666666",
|
|
contextMenuItemSelectedColor:"#FFFFFF",
|
|
contextMenuItemDisabledColor:"#333"
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|
|
<div id="myDiv" style="position:relative; left:0px; top:0px;"></div>
|
|
|
|
<ul id="playlists" style="display:none;">
|
|
|
|
|
|
<li data-source="mixedPlaylist" data-playlist-name="Favorites" data-thumbnail-path="">
|
|
<p class="fwduvp-categories-title"><span class="fwduvp-header">Title: </span><span class="fwduvp-title">Favorites</span></p>
|
|
<p class="fwduvp-categories-type"><span class="fwduvp-header">Type: </span>HTML</p>
|
|
<p class="fwduvp-categories-description"><span class="fwduvp-header">Description: </span>Favorited Videos</p>
|
|
</li>
|
|
|
|
|
|
</ul>
|
|
|
|
<!-- HTML playlist -->
|
|
|
|
|
|
<!-- HTML mixed playlist -->
|
|
<ul id="mixedPlaylist" style="display:none;">
|
|
|
|
|
|
|
|
<li data-thumb-source="https://www.webdesign-flash.ro/p/uvp/content/thumbnails/small-msp.jpg" data-video-source="encrypt:<?php echo base64_encode("https://www.webdesign-flash.ro/p/uvp/content/videos2/fwd-1080p.mp4");?>" data-poster-source="https://www.webdesign-flash.ro/p/uvp/content/posters/mp4-poster.jpg,content/posters/mp4-poster-mobile.jpg" data-private-video-password="428c841430ea18a70f7b06525d4b748a">
|
|
<div data-video-short-description="">
|
|
<div>
|
|
<p class="fwduvp-thumbnail-title">PRIVATE VIDEO EXAMPLE</p>
|
|
<p class="fwduvp-thumbnail-title">Support for private videos.</p>
|
|
</div>
|
|
</div>
|
|
<div data-video-long-description="">
|
|
<div>
|
|
<p class="fwduvp-video-title">MP3 STICKY PLAYER</p>
|
|
<p class="fwduvp-video-main-description">Each video can contain a detailed description, the description can be formatted with CSS as you like. The description window and description button can be disabled individually for each video or globally for all videos.</p>
|
|
<p class="fwduvp-link">For more information about this please follow <a href="http://www.webdesign-flash.ro/p/msp/" target="_blank">this link</a></p>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<?
|
|
}
|