Thank you for purchase. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form on the link above. Thanks so much!
Register the plugin at the following link
Instructions how to register (ONLY steps 1-3 are required)
Registration made to make sure customers use the license on a single project (as per Envato rules) and to help customers owning many licenses easily track on which server licenses are being used.
Include the following css and javascript code into HEAD section of the page:
<link rel="stylesheet" type="text/css" href="css/pag.css" media="all"/> <link rel="stylesheet" type="text/css" href="css/custom_light.css" media="all"/> <script src="js/sharemanager.js"></script> <script src="js/pagination.js"></script>
Include custom_light.css or custom_dark.css file depending on your gallery skin!
Add element in the page where the gallery is going to be placed:
<div id="pg-wrapper"></div>
Initialize the plugin:
<script type="text/javascript">
var settings = {
...settings go here
};
new pag(document.getElementById('pg-wrapper'), settings);
});
</script>
Parameters:
| Parameter | Value | description |
|---|---|---|
| sourcePath | Optional path to plugin root. Plugin loads some scripts from js directory so it needs relative location from the gallery root. | |
| youtubeAppId | Youtube API key. Go here for the API key: https://console.developers.google.com and create new project, enable YouTube Data API, go to Credentials, create Browser key and copy API key. You can enter multiple keys separated by comma for backup. | |
| videoAutoplay | true / false | Auto play video in lightbox or inline. Will mute the video which is required for autoplay to work. |
| volume | 0-1 | Set video volume |
| mediaEndAction | next | What to do when video finishes playing. Next will advance to next video. |
| playlist_data | Youtube data to load inside a grid. Check media youtube for more details. | |
| thumbDefault | url to thumbnail | Default thumbnail backup url when no thumb with api exist. |
| truncateHeaderDescription | number | Shorten header description text. Enter number (for example 250) for 250 characters to be shown. |
| swapImageSources | true / false | On resize swap image sources between standard and high res. |
| useLivePreview | true / false | Play youtube video on mouse hover thumbnail (for desktop browsers) |
| scaleOnHover | true / false | Scale thumbnail on hover (this is available only for desktop browsers) |
| cacheTime | seconds | Cache playlist in browser local storage to limit api requests for Youtube. For example, if you load a Youtube playlist, and set cacheTime:3600 (1 hour), everytime the page is reloaded within that hour, playlist will be loaded from cache. If you want to clear cache set cacheTime:0 and playlist will be loaded using API again. |
| playlistStorageKey | string (no spacing or special characters) | Unique string identifier for Store playlist in browser feature (local storage). Has to be unique per gallery. |
| videoDisplayType | lightbox, inline, link, none | How to show the video when thumb is clicked. |
| youtubeThumbSize | default / medium / high / standard / maxres | youtube preffered thumb size: default 120x90 medium 320x180 high 480x360 standard 640x480 maxres 1280x720 |
| videoStatsPlaysText | Plays | Statistics video plays text |
| videoStatsLikesText | Likes | Statistics video likes text |
| videoStatsCommentsText | Comments | Statistics video comments text |
| viewsText | views | Statistics views text |
| followersText | followers | Statistics followers text |
| videosText | videos | Statistics videos text |
| subscribeBtnText | Subscribe | Subscribe button text |
| useScrollTop | true / false | Use scroll to top button |
| scrollTopTitle | Go to top | scroll to top button title attribute |
Parameters:
| Parameter | Value | description |
|---|---|---|
| disablekb | 0/1 | Setting the parameter's value to 1 causes the player to not respond to keyboard controls. https://developers.google.com/youtube/player_parameters#disablekb |
Parameters:
| Parameter | Value | description |
|---|---|---|
| skin | light / dark | Gallery skin |
| layout | grid / vrb / hb / standalone | Gallery layoutgrid = javascript grid layout with rows and columns vrb = Player layout with playlist vertical right and bottom hb = Player layout with playlist horizontal below player standalone = style grid with your own css |
| useHeaderBanner | true / false | Use header banner picture (Youtube channel banner cannot be retrieved automatically. Image needs to be uploaded manually!) |
| headerBanner | image url | Set custom header image (1200x250px) |
| useHeaderContent | true / false | This will hide all elements under the banner image in the gallery (channel logo, title, description, statistics, share, subscribe) |
| useHeaderLogo | true / false | Show / hide logo in header |
| headerLogo | image url | Set custom header logo image (90x90px) |
| useHeaderTitle | true / false | Show / hide title in header |
| headerTitle | Set custom header title | |
| useHeaderDescription | true / false | Show / hide description in header |
| headerDescription | Set custom header description | |
| useHeaderStats | true / false | Use channel video statistics beneath header (likes, views, plays) |
| useSubscribe | true / false | Use subscribe button |
| usePlaylistSelector | true / false | Use playlist selector with multiple sources that can be loaded in gallery. If there is only one video source, playlist selector with auto hide. |
Parameters:
| Parameter | Value | description |
|---|---|---|
| navigationDirection | v / h | Thumb grid can move left to right (horizontal) or up and down (vertical). |
| transitionType | slide / alpha | Type of transition for grid. |
| breakPointArr | Javascript breakpoints on "pg-playlist-holder" element on which grid is calculated, example: breakPointArr:[ {width:0, column:1, row:2, gutter:5}, {width:500, column:2, row:2, gutter:0}, {width:700, column:3, row:2, gutter:10}, {width:1100, column:4, row:2, gutter:10}, {width:1600, column:5, row:3, gutter:10} ] Below 500px, use 1 column, 2 rows, 0px spacing between grid boxes below 700px use 2 columns, 2 rows, 0px spacing between grid boxes etc... |
|
| useSwipeNavigation | true / false | Use swipe navigation on touch enabled devices |
Parameters:
| Parameter | Value | description |
|---|---|---|
| playlistStyle | dot / dbt / drot | Style of the thumbnail and descripion.dot = Description over thumbnail dbt = Description below thumbnail drot = Description right of thumbnail |
| showVideoStatsInThumbnail | true / false | Show video statistics in thumbnail (views, likes, comments). |
| showVideoDateInThumbnail | true / false | Show video date in thumbnail |
| showVideoDescriptionInThumbnail | true / false | Show video description in thumbnail |
| showInfoButton | true / false | Show info button over thumbnail to open full video description |
| closeInfoPopupOnBgClick | true / false | Close info popup when user clicks on area around info |
Details beneath the video (video description, comments...)
Parameters:
| Parameter | Value | description |
|---|---|---|
| showVideoDetailInLightbox | true / false | Show video title, description, statistics beneath Video. |
| convertUrlToLinksInDesc | true / false | Youtube video description does not provide clickable url links. This will convert http urls in description (if exist) into href clickable links. Use with care because it may return unexpected results since it has to scan all description text and try to convert to href tags. |
| showCommentsInLightbox | true / false | Show comments beneath Video. Valid only if showVideoDetailInLightbox is true. |
| showVideoViewsInLightbox | true / false | Show number of Video Views below video. |
| showVideoLikesInLightbox | true / false | Show number of Video Likes below video. |
| videoPublishedText | Published on | Youtube video published on text. |
| readMoreText | SHOW MORE | Youtube show more description text. |
| commentsText | Comments | Comments text. |
| loadMoreCommentsText | Load more comments | Load more comments button text. |
| useReplyBtnInComments | true / false | Show reply button in comments (leads to youtube comment where user can reply). |
| commentsReplyText | Reply | Reply to comment button text |
Parameters:
| Parameter | Value | description |
|---|---|---|
| playerRatio | number | Aspect ratio of player video area. Set video area ratio to fit your videos. If you videos are 4/3 ratio, use 1.333333. If your videos are 16/9 ratio, use 1.777777 (default). |
| playlistSideWidth | px | Width of the playlist when its on the side of the player (for vrb layout). Default 320 |
| verticalBottomSepearator | px | Gallery width at which playlist on the side drops down below player (responsive layout). Default 900 |
| playlistBottomHeight | px | Height of the verical playlist when its below the player. Default 300 |
Parameters:
| Parameter | Value | description |
|---|---|---|
| loadMoreBtnText | Load more | Load more button appears below the thumbnails if there is more content to load. |
Parameters:
| Parameter | Value | description |
|---|---|---|
| youtubePlayerType | chromeless | Use this to display video with custom controls (instead of Youtube default controls) |
| useUnmuteButton | true / false | Use unmute button (for video autoplay, video needs to start muted. You can use unmute button to show user he can unmute the video with button click.) |
| clickToUnmuteText | CLICK TO UNMUTE | Click To Unmute button Text |
| tooltipRewind | Rewind | tooltip Rewind video button |
| tooltipNext | Next | tooltip Next video button |
| liveText | LIVE | Live video button text |
| tooltipVolume | Volume | tooltip Volume |
| tooltipSettings | Settings | tooltip settings button |
| tooltipPlaybackSpeed | Playback speed | tooltip Playback Speed |
| tooltipPlaybackSpeedNormal | Normal | tooltip Playback Speed Normal (default video playback speed 1) |
| tooltipInfo | Info | tooltip video description |
| tooltipFullscreen | Fullscreen | tooltip Fullscreen button |
| tooltipExitFullscreen | Exit Fullscreen | tooltip Exit Fullscreen button |
| blockYoutubeEvents | true / false | This will prevent clicking or right clicking on Youtube video itself. |
Parameters:
| Parameter | Value | description |
|---|---|---|
| closeBtnText | Close | Lightbox close button tooltip text. |
| previousButtonText | Previous | Lightbox previous button tooltip text. |
| nextButtonText | Next | Lightbox next button tooltip text. |
Parameters:
| Parameter | Value | description |
|---|---|---|
| useShare | true / false | Deactivate all sharing options with this. |
| useShareFacebook | true / false | Use Facebook share |
| useShareTwitter | true / false | Use Twitter share |
| useShareTumblr | true / false | Use Tumblr share |
| useShareWhatsApp | true / false | Use WhatsApp share |
| useShareLinkedin | true / false | Use Linkedin share |
| useShareReddit | true / false | Use Reddit share |
| useShareDigg | true / false | Use Digg share |
| useSharePinterest | true / false | Use Pinterest share |
| shareBtnText | Share | Share button text. |
| tooltipShareFacebook | Share on Facebook | Tooltip share on Facebook. |
| tooltipShareTwitter | Share on Twitter | Tooltip share on Twitter. |
| tooltipShareTumblr | Share on Tumblr | Tooltip share on Tumblr. |
| tooltipShareWhatsApp | Share on WhatsApp | Tooltip share on WhatsApp. |
| tooltipShareLinkedin | Share on Linkedin | Tooltip share on Linkedin. |
| tooltipShareReddit | Share on Reddit | Tooltip share on Reddit. |
| tooltipShareDigg | Share on Digg | Tooltip share on Digg. |
| tooltipSharePinterest | Share on Pinterest | Tooltip share on Pinterest. |
| shareIconFacebook | svg icon facebook | |
| shareIconTwitter | svg icon Twitter | |
| shareIconTumblr | svg icon Tumblr | |
| shareIconWhatsApp | svg icon WhatsApp | |
| shareIconLinkedin | svg icon Linkedin | |
| shareIconReddit | svg icon Reddit | |
| shareIconDigg | svg icon Digg | |
| shareIconPinterest | svg icon Pinterest |
Using Youtube requires API key which needs to be entered in settings: youtubeAppId
Go here for the API key: https://console.developers.google.com and create new Project, enable YouTube Data API service, go to Credentials, and create API key.
Tutorial on how to create Youtube API key: https://www.youtube.com/watch?v=pJSkp719HeE
Examples:
Youtube channel:
var sources = [
{type:"youtube_channel", path:"UC2MGuhIaOP6YLpUx106kTQw", sort:date, menu_title:"IFSC"},
]
Example:
https://www.youtube.com/channel/UC2MGuhIaOP6YLpUx106kTQwNote that from last Youtube change, its not possible to retrieve banner image for Youtube channel automatically. So if you want to have banner image you need to specify it manually in settings:
headerBanner: "https://yt3.ggpht.com/YTNWlLCAiEyddpJ8AdWuaKpNSMgaVVElf71N9IM57BZ4XMKG3Sh3iFROW7SapxmSMr8hKhyKVQU=w2560-nd-rj",//carwow
Filter Youtube videos in channel addyoutube_video_filter filter to source:
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"carwow", youtube_video_filter:"UULF"}
Parameters:
'' = 'Show all (default)
'UULF' = 'Videos
'UULP' = 'Popular videos
'UULV' = 'Live streams
'UUMF' = 'Members-only videos
'UUMO' = 'Members-only contents (videos, short videos and live streams)
'UUMS' = 'Members-only short videos
'UUMV' = 'Members-only live streams
'UUPS' = 'Popular short videos
'UUPV' = 'Popular live streams
'UUSH' = 'Short videos
Youtube playlist:
var sources = [
{type:"youtube_playlist", path:"PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI", menu_title:"Popular Music Videos"}
]
Example:
https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSIIf your videos have multiple subtitles languages, you can force to show chosen language using cc_lang_pref parameter.
Example, use French subtitles:
var sources = [
{type:"youtube_playlist", path:"PLpjK416fmKwQocODJPc1D7PQSoy25VluA", menu_title:"", cc_lang_pref:'fr'},
]
Use language code for cc_lang_pref value:
https://www.loc.gov/standards/iso639-2/php/code_list.phpNote that the list above is not correct in all cases, for example using Chinese requires following codes:
zh-Hans (Chinese Simplified) zh-Hant (Chinese Traditional)
For example of this check vrb_force_subtitles.html demo.
If your videos have localized title and description, you can show them in your chosen language using hl parameter:
var sources = [
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"Carwow", hl:'de'},
]
Use language code (BCP-47) for hl value:
https://en.wikipedia.org/wiki/IETF_language_tag#:~:text=An%20IETF%20BCP%2047%20language,the%20IANA%20Language%20Subtag%20Registry.How to translate title and description for your Youtube videos:
https://support.google.com/youtube/answer/6289575Set video start and end time (valid for all video in channel or playlist)
var sources = [
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"Carwow", startTime: 10, endTime: 10},
]
Adjust the break points setting:
| Parameter | Value | description |
|---|---|---|
| breakPointArr | Javascript breakpoints on "pg-playlist-holder" element on which grid is calculated, example: breakPointArr:[ {width:0, column:1, row:2, gutter:5}, {width:500, column:2, row:2, gutter:0}, {width:700, column:3, row:2, gutter:10}, {width:1100, column:4, row:2, gutter:10}, {width:1600, column:5, row:3, gutter:10} ] Below 500px, use 1 column, 2 rows, 0px spacing between grid boxes below 700px use 2 columns, 2 rows, 0px spacing between grid boxes etc... |
Its possible to display Youtube player with custom skin. Use the following settings:
youtubePlayerType:'chromeless',
View more settings using Youtube custom player skin here
When you click on the thumbnail video can be shown in the following ways:
These option is set using videoDisplayType
New gallery can be loaded on runtime using playlist selector or api method loadPlaylist. To create playlist selector use following in settings usePlaylistSelector
usePlaylistSelector:true
Create multiple sources for the gallery data, add menu title for each source:
var sources = [
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"Carwow"},
{type:"youtube_channel", path:"UCqhnX4jA0A5paNd1v-zEysw", menu_title:"GoPro"},
{type:"youtube_channel", path:"UCe0TLA0EsQbE-MjuHXevj2A", menu_title:"ATHLEAN-X™"}
]
menu_title = what is shown in playlist selector
This is used in settings as playlist_data
To activate playlist shelf in settings:
playlist_shelf:true
Layout available with playlist_shelf (grid / standalone)
layout: grid
Gallery sources with playlist_shelf (type = playlist_shelf, provide channel ID in path):
var sources = [
{type:"playlist_shelf", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"carwow"},
{type:"playlist_shelf", path:"UCqhnX4jA0A5paNd1v-zEysw", menu_title:"GoPro"},
{type:"playlist_shelf", path:"UCe0TLA0EsQbE-MjuHXevj2A", menu_title:"ATHLEAN-X™"},
]
Check playlist_shelf.html demo
Once youtube source is loaded (playlist or channel), videos can be searched using a search field.
To enable search field inside gallery, use following options:
useSearch:true, searchTitle:"Search..", searchIcon:"<svg viewBox='0 0 640 640'><path d='M480 272C480 317.9 465.1 360.3 440 394.7L566.6 521.4C579.1 533.9 579.1 554.2 566.6 566.7C554.1 579.2 533.8 579.2 521.3 566.7L394.7 440C360.3 465.1 317.9 480 272 480C157.1 480 64 386.9 64 272C64 157.1 157.1 64 272 64C386.9 64 480 157.1 480 272zM272 416C351.5 416 416 351.5 416 272C416 192.5 351.5 128 272 128C192.5 128 128 192.5 128 272C128 351.5 192.5 416 272 416z'/></svg>"
For example of this check search.html and search_vrb.html demo.
To show featured videos, use following options:
featuredVideo:{
type:'latest',
count:2
},
featuredVideoHeader:"Featured episodes",
publishedText:"Published",
This will select 2 latest videos from youtube source that is loaded inside the gallery.
Alternatively, if you want to show specific youtube video(s) by providing youtube video ID, use the following:
featuredVideo:{
type:'id',
videos:'mLUTB5TwM4o,BmRnWn9FAw0'
},
featuredVideoHeader:"Featured episodes",
publishedText:"Published",
For example of this check featured_video.html and featured_video_vrb.html demo.
How to restrict videos from showing in the gallery?
Add excludeId in source (one or more video IDs to exclude separated by comma):
var sources = [
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"Carwow", excludeId:'nm07c-s-SYc,JULhU1ZktFo'},
]
Add restrictId in source (one or more video IDs to restrict):
var sources = [
{type:"youtube_channel", path:"UCUhFaUpnq31m6TNX2VKVSVA", menu_title:"Carwow", restrictId:'nm07c-s-SYc,JULhU1ZktFo'},
]
restrictContentText:"<p class='pg-restrict-header'>Want to see more?</p><a href='#'>Upgrade to Pro membership to view this content</a>", restrictContentTitle:'This content is available to subscribers only.'
Channel logo, title and description will automatically be retrieved from Youtube. If you want to specify your own instead use following settings:
headerBanner: "banner image url", headerLogo: "logo image url", headerTitle: "your title", headerDescription: "your description",
headerBanner: "IMAGE_URL",
Use these settings:
useLivePreview:true,
Available in General settings:
useLivePreviewUse these settings:
scaleOnHover:true
Available in General settings:
scaleOnHoverCreate info button over thumbnail area which when clicked will show full video description in popup window.
Use following settings:
| Parameter | Value | description |
|---|---|---|
| showInfoButton | true / false | Show info button over thumbnail to open full video description |
| closeInfoPopupOnBgClick | true / false | Close info popup when user clicks on area around info |
Autoplay in viewport is available with player layouts (vrb, hb) when player is shown directly in the page (not opened in lightbox).
Use these settings:
autoPlayInViewport:true, autoPlayInViewportIOSMuted:true,//ios wont autoplay with volume even after clicking. If false player will try to autoplay with volume on IOS. volume:0.5//set volume of choice or 0 for mute
Insert advertising content into the gallery (Adsense, Amazon Affiliates, Commission Junction etc...). Basically any HTML is allowed. Make sure its properly formatted so it doesnt break the layout.
To add ad content on the bottom of the gallery use this settings (adContent):
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"><\/script>
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="AD_CLIENT_HERE"
data-ad-slot="AD_SLOT_HERE"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
<\/script>
To add ad content on the bottom of the popup window use this settings (adContentPopup):
adContentPopup: 'ADD_CODE_HERE',
Notes:
1. remove line breaks 2. Note how the ending script tags are escaped with backslash (<\/script>).
Icons in the gallery are SVG and can be changed in settings:
shareIconFacebook: '<svg viewBox="0 0 264 512"><path d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"/></svg>', shareIconTwitter: '<svg viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>', shareIconTumblr: '<svg viewBox="0 0 320 512"><path d="M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"/></svg>', shareIconWhatsApp: '<svg role="img" viewBox="0 0 448 512"><path d="M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"></path></svg>', shareIconLinkedin: '<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 448 512"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>', shareIconReddit: '<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 512 512"><path d="M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"></path></svg>', shareIconDigg: '<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 512 512"><path d="M81.7 172.3H0v174.4h132.7V96h-51v76.3zm0 133.4H50.9v-92.3h30.8v92.3zm297.2-133.4v174.4h81.8v28.5h-81.8V416H512V172.3H378.9zm81.8 133.4h-30.8v-92.3h30.8v92.3zm-235.6 41h82.1v28.5h-82.1V416h133.3V172.3H225.1v174.4zm51.2-133.3h30.8v92.3h-30.8v-92.3zM153.3 96h51.3v51h-51.3V96zm0 76.3h51.3v174.4h-51.3V172.3z"></path></svg>', shareIconPinterest: '<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 496 512"><path d="M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"></path></svg>', playAllIcon: '<svg viewBox="0 0 373.008 373.008"><path d="M61.792,2.588C64.771,0.864,68.105,0,71.444,0c3.33,0,6.663,0.864,9.655,2.588l230.116,167.2 c5.963,3.445,9.656,9.823,9.656,16.719c0,6.895-3.683,13.272-9.656,16.713L81.099,370.427c-5.972,3.441-13.334,3.441-19.302,0 c-5.973-3.453-9.66-9.833-9.66-16.724V19.305C52.137,12.413,55.818,6.036,61.792,2.588z"/></svg>', lockIcon: '<svg viewBox="0 0 448 512"><path d="M224 64c44.2 0 80 35.8 80 80v48H144V144c0-44.2 35.8-80 80-80zM80 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H368V144C368 64.5 303.5 0 224 0S80 64.5 80 144zM256 320v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V320c0-17.7 14.3-32 32-32s32 14.3 32 32z"/></svg>', infoIcon:'<svg viewBox="0 0 512 512"><path d="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"/></svg>', statCommentIcon: '<svg aria-hidden="true" role="img" viewBox="0 0 512 512"><path fill="currentColor" d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z" class=""></path></svg>', statPlayIcon: '<svg aria-hidden="true" role="img" viewBox="0 0 576 512" ><path fill="currentColor" d="M569.354 231.631C512.969 135.949 407.81 72 288 72 168.14 72 63.004 135.994 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.031 376.051 168.19 440 288 440c119.86 0 224.996-63.994 281.354-159.631a47.997 47.997 0 0 0 0-48.738zM288 392c-75.162 0-136-60.827-136-136 0-75.162 60.826-136 136-136 75.162 0 136 60.826 136 136 0 75.162-60.826 136-136 136zm104-136c0 57.438-46.562 104-104 104s-104-46.562-104-104c0-17.708 4.431-34.379 12.236-48.973l-.001.032c0 23.651 19.173 42.823 42.824 42.823s42.824-19.173 42.824-42.823c0-23.651-19.173-42.824-42.824-42.824l-.032.001C253.621 156.431 270.292 152 288 152c57.438 0 104 46.562 104 104z" class=""></path></svg>', statLikeIcon: '<svg viewBox="0 0 24 24"><path d="M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z"></path></svg>', statShareIcon: '<svg aria-hidden="true" role="img" svg" viewBox="0 0 512 512"><path d="M503.691 189.836L327.687 37.851C312.281 24.546 288 35.347 288 56.015v80.053C127.371 137.907 0 170.1 0 322.326c0 61.441 39.581 122.309 83.333 154.132 13.653 9.931 33.111-2.533 28.077-18.631C66.066 312.814 132.917 274.316 288 272.085V360c0 20.7 24.3 31.453 39.687 18.164l176.004-152c11.071-9.562 11.086-26.753 0-36.328z"></path></svg>', lightboxCloseIcon: '<svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M217.5 256l137.2-137.2c4.7-4.7 4.7-12.3 0-17l-8.5-8.5c-4.7-4.7-12.3-4.7-17 0L192 230.5 54.8 93.4c-4.7-4.7-12.3-4.7-17 0l-8.5 8.5c-4.7 4.7-4.7 12.3 0 17L166.5 256 29.4 393.2c-4.7 4.7-4.7 12.3 0 17l8.5 8.5c4.7 4.7 12.3 4.7 17 0L192 281.5l137.2 137.2c4.7 4.7 12.3 4.7 17 0l8.5-8.5c4.7-4.7 4.7-12.3 0-17L217.5 256z"></path></svg>', lightboxPreviousIcon: '<svg aria-hidden="true" role="img" viewBox="0 0 256 512"><path d="M238.475 475.535l7.071-7.07c4.686-4.686 4.686-12.284 0-16.971L50.053 256 245.546 60.506c4.686-4.686 4.686-12.284 0-16.971l-7.071-7.07c-4.686-4.686-12.284-4.686-16.97 0L10.454 247.515c-4.686 4.686-4.686 12.284 0 16.971l211.051 211.05c4.686 4.686 12.284 4.686 16.97-.001z"></path></svg>', lightboxNextIcon: '<svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="currentColor" d="M17.525 36.465l-7.071 7.07c-4.686 4.686-4.686 12.284 0 16.971L205.947 256 10.454 451.494c-4.686 4.686-4.686 12.284 0 16.971l7.071 7.07c4.686 4.686 12.284 4.686 16.97 0l211.051-211.05c4.686-4.686 4.686-12.284 0-16.971L34.495 36.465c-4.686-4.687-12.284-4.687-16.97 0z"></path></svg>', closeIcon:'<svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M217.5 256l137.2-137.2c4.7-4.7 4.7-12.3 0-17l-8.5-8.5c-4.7-4.7-12.3-4.7-17 0L192 230.5 54.8 93.4c-4.7-4.7-12.3-4.7-17 0l-8.5 8.5c-4.7 4.7-4.7 12.3 0 17L166.5 256 29.4 393.2c-4.7 4.7-4.7 12.3 0 17l8.5 8.5c4.7 4.7 12.3 4.7 17 0L192 281.5l137.2 137.2c4.7 4.7 12.3 4.7 17 0l8.5-8.5c4.7-4.7 4.7-12.3 0-17L217.5 256z"></path></svg>', gridPreviousIcon: '<svg aria-hidden="true" viewBox="0 0 192 512"><path d="M25.1 247.5l117.8-116c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L64.7 256l102.2 100.4c4.7 4.7 4.7 12.3 0 17l-7.1 7.1c-4.7 4.7-12.3 4.7-17 0L25 264.5c-4.6-4.7-4.6-12.3.1-17z"></path></svg></div>', gridNextIcon: '<svg aria-hidden="true" viewBox="0 0 192 512"><path d="M166.9 264.5l-117.8 116c-4.7 4.7-12.3 4.7-17 0l-7.1-7.1c-4.7-4.7-4.7-12.3 0-17L127.3 256 25.1 155.6c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0l117.8 116c4.6 4.7 4.6 12.3-.1 17z"></path></svg></div>', //player playerBigPlayIcon: '<svg viewBox="0 0 373.008 373.008"><path d="M61.792,2.588C64.771,0.864,68.105,0,71.444,0c3.33,0,6.663,0.864,9.655,2.588l230.116,167.2 c5.963,3.445,9.656,9.823,9.656,16.719c0,6.895-3.683,13.272-9.656,16.713L81.099,370.427c-5.972,3.441-13.334,3.441-19.302,0 c-5.973-3.453-9.66-9.833-9.66-16.724V19.305C52.137,12.413,55.818,6.036,61.792,2.588z"/></svg>', playerUnmuteIcon: '<svg aria-hidden="true" focusable="false" role="img" viewBox="0 0 640 512"><path d="M633.82 458.1l-69-53.33C592.42 360.8 608 309.68 608 256c0-95.33-47.73-183.58-127.65-236.03-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 42.78-11.96 83.59-33.22 119.06l-38.12-29.46C503.49 318.68 512 288.06 512 256c0-63.09-32.06-122.09-85.77-156.16-11.19-7.09-26.03-3.8-33.12 7.41-7.09 11.2-3.78 26.03 7.41 33.13C440.27 165.59 464 209.44 464 256c0 21.21-5.03 41.57-14.2 59.88l-39.56-30.58c3.38-9.35 5.76-19.07 5.76-29.3 0-31.88-17.53-61.33-45.77-76.88-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61 11.76 6.46 19.12 18.18 20.4 31.06L288 190.82V88.02c0-21.46-25.96-31.98-40.97-16.97l-49.71 49.7L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM32 184v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V352.6L43.76 163.84C36.86 168.05 32 175.32 32 184z"></path></svg>', playerPlayIcon: '<svg viewBox="0 0 373.008 373.008"><path d="M61.792,2.588C64.771,0.864,68.105,0,71.444,0c3.33,0,6.663,0.864,9.655,2.588l230.116,167.2 c5.963,3.445,9.656,9.823,9.656,16.719c0,6.895-3.683,13.272-9.656,16.713L81.099,370.427c-5.972,3.441-13.334,3.441-19.302,0 c-5.973-3.453-9.66-9.833-9.66-16.724V19.305C52.137,12.413,55.818,6.036,61.792,2.588z"/></svg>', playerPauseIcon: '<svg viewBox="0 0 448 512"><path d="M144 479H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v352c0 26.5-21.5 48-48 48zm304-48V79c0-26.5-21.5-48-48-48h-96c-26.5 0-48 21.5-48 48v352c0 26.5 21.5 48 48 48h96c26.5 0 48-21.5 48-48z"/></svg>', playerRewindIcon: '<svg viewBox="0 0 512 512"><path d="M255.545 8c-66.269.119-126.438 26.233-170.86 68.685L48.971 40.971C33.851 25.851 8 36.559 8 57.941V192c0 13.255 10.745 24 24 24h134.059c21.382 0 32.09-25.851 16.971-40.971l-41.75-41.75c30.864-28.899 70.801-44.907 113.23-45.273 92.398-.798 170.283 73.977 169.484 169.442C423.236 348.009 349.816 424 256 424c-41.127 0-79.997-14.678-110.63-41.556-4.743-4.161-11.906-3.908-16.368.553L89.34 422.659c-4.872 4.872-4.631 12.815.482 17.433C133.798 479.813 192.074 504 256 504c136.966 0 247.999-111.033 248-247.998C504.001 119.193 392.354 7.755 255.545 8z"></path></svg>', playerNextVideoIcon: '<svg viewBox="0 0 448 512"><path d="M384 44v424c0 6.6-5.4 12-12 12h-48c-6.6 0-12-5.4-12-12V291.6l-195.5 181C95.9 489.7 64 475.4 64 448V64c0-27.4 31.9-41.7 52.5-24.6L312 219.3V44c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12z"></path></svg>', playerVolumeUpIcon: '<svg viewBox="0 0 576 512"><path d="M215.03 71.05L126.06 160H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V88.02c0-21.46-25.96-31.98-40.97-16.97zm233.32-51.08c-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 78.98-39.55 152.09-105.82 195.58-11.17 7.32-14.29 22.34-6.95 33.5 7.04 10.71 21.93 14.56 33.51 6.95C528.27 439.58 576 351.33 576 256S528.27 72.43 448.35 19.97zM480 256c0-63.53-32.06-121.94-85.77-156.24-11.19-7.14-26.03-3.82-33.12 7.46s-3.78 26.21 7.41 33.36C408.27 165.97 432 209.11 432 256s-23.73 90.03-63.48 115.42c-11.19 7.14-14.5 22.07-7.41 33.36 6.51 10.36 21.12 15.14 33.12 7.46C447.94 377.94 480 319.54 480 256zm-141.77-76.87c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 228.28 336 241.63 336 256c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.86z"></path></svg>', playerVolumeDownIcon: '<svg viewBox="0 0 384 512"><path d="M215.03 72.04L126.06 161H24c-13.26 0-24 10.74-24 24v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V89.02c0-21.47-25.96-31.98-40.97-16.98zm123.2 108.08c-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61C327.98 229.28 336 242.62 336 257c0 14.38-8.02 27.72-20.92 34.81-11.61 6.41-15.84 21-9.45 32.61 6.43 11.66 21.05 15.8 32.61 9.45 28.23-15.55 45.77-45 45.77-76.88s-17.54-61.32-45.78-76.87z"></path></svg>', playerVolumeOffIcon: '<svg viewBox="0 0 640 512"><path d="M633.82 458.1l-69-53.33C592.42 360.8 608 309.68 608 256c0-95.33-47.73-183.58-127.65-236.03-11.17-7.33-26.18-4.24-33.51 6.95-7.34 11.17-4.22 26.18 6.95 33.51 66.27 43.49 105.82 116.6 105.82 195.58 0 42.78-11.96 83.59-33.22 119.06l-38.12-29.46C503.49 318.68 512 288.06 512 256c0-63.09-32.06-122.09-85.77-156.16-11.19-7.09-26.03-3.8-33.12 7.41-7.09 11.2-3.78 26.03 7.41 33.13C440.27 165.59 464 209.44 464 256c0 21.21-5.03 41.57-14.2 59.88l-39.56-30.58c3.38-9.35 5.76-19.07 5.76-29.3 0-31.88-17.53-61.33-45.77-76.88-11.58-6.33-26.19-2.16-32.61 9.45-6.39 11.61-2.16 26.2 9.45 32.61 11.76 6.46 19.12 18.18 20.4 31.06L288 190.82V88.02c0-21.46-25.96-31.98-40.97-16.97l-49.71 49.7L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.36 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.41-6.97 4.16-17.02-2.82-22.45zM32 184v144c0 13.25 10.74 24 24 24h102.06l88.97 88.95c15.03 15.03 40.97 4.47 40.97-16.97V352.6L43.76 163.84C36.86 168.05 32 175.32 32 184z"></path></svg>', playerSettingsMenuToggleIcon: '<svg viewBox="0 0 512 512"><path d="M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"></path></svg>', playerInfoToggleIcon: '<svg viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path></svg>', playerFullscreenEnterIcon: '<svg viewBox="0 0 448 512"><path d="M212.686 315.314L120 408l32.922 31.029c15.12 15.12 4.412 40.971-16.97 40.971h-112C10.697 480 0 469.255 0 456V344c0-21.382 25.803-32.09 40.922-16.971L72 360l92.686-92.686c6.248-6.248 16.379-6.248 22.627 0l25.373 25.373c6.249 6.248 6.249 16.378 0 22.627zm22.628-118.628L328 104l-32.922-31.029C279.958 57.851 290.666 32 312.048 32h112C437.303 32 448 42.745 448 56v112c0 21.382-25.803 32.09-40.922 16.971L376 152l-92.686 92.686c-6.248 6.248-16.379 6.248-22.627 0l-25.373-25.373c-6.249-6.248-6.249-16.378 0-22.627z"/></svg>', playerFullscreenExitIcon: '<svg viewBox="0 0 448 512"><path d="M4.686 427.314L104 328l-32.922-31.029C55.958 281.851 66.666 256 88.048 256h112C213.303 256 224 266.745 224 280v112c0 21.382-25.803 32.09-40.922 16.971L152 376l-99.314 99.314c-6.248 6.248-16.379 6.248-22.627 0L4.686 449.941c-6.248-6.248-6.248-16.379 0-22.627zM443.314 84.686L344 184l32.922 31.029c15.12 15.12 4.412 40.971-16.97 40.971h-112C234.697 256 224 245.255 224 232V120c0-21.382 25.803-32.09 40.922-16.971L296 136l99.314-99.314c6.248-6.248 16.379-6.248 22.627 0l25.373 25.373c6.248 6.248 6.248 16.379 0 22.627z"/></svg>', playerDialogCloseIcon: '<svg viewBox="0 0 320 512"><path d="M207.6 256l107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"></path></svg>'
Note: You can also use other type of icons like images, but you need to add some CSS for this part.
Available api methods:
player.disposeVideo(); //dispose video (lightbox or inline)
-----------------------
var data = {type:"youtube_channel", path:"UCqhnX4jA0A5paNd1v-zEysw"};
player.loadPlaylist(data, reset_header);//load playlist on runtime
To receive support, first make sure you have registered as described in the register section.
If you have any questions after purchase, send a message at http://codecanyon.net/user/Tean#contact, and provide your PURCHASE CODE.