Modern Video Player Javascript

Updates / Changelog

VERSION 15.81 [22.12.2024]

 - [UPDATE] offline image can be used with live streaming

VERSION 15.79 [18.12.2024]

 - [FIX] if autoplay in viewport was active, cliking on different video in playlist didnt work

VERSION 15.77 [28.11.2024]

 - [ADD] Global preview seek option per playlist

VERSION 15.74 [8.11.2024]

 - [FIX] adPlay event not fire with use ima loader

VERSION 15.71 [16.10.2024]

 - [UPDATE] Google Drive api links to poster images and thumbnails changed to use api key

VERSION 15.61 [11.10.2024]

 - [FIX] advert seekbar not working for ad-pre
 - [FIX] advert volume button hides after first advert 
 - [UPDATE] show advert counter for multiple ads

VERSION 15.5 [5.10.2024]

 - [FIX] prevent skip mid adverts when using seek forward button

VERSION 15.47 [5.9.2024]

 - [ADD] cuepoints with javascript callback function

VERSION 15.43 [20.8.2024]

 - [FIX] vast postroll not visible

VERSION 15.4 [10.8.2024]

 - [DEPRECATED] amazon S3

VERSION 15.3 [2.7.2024]

 - [ADD] option to load folder of hls or dash media

VERSION 15.27 [30.6.2024]

 - [UPDATE] thumbnails preview seek auto responsive size

VERSION 15.26 [9.6.2024]

 - [FIX] elements visibility 
 - [FIX] playlist holder visible on start on some small screens if playlist closed
 - [FIX] pollux skin seekbar thumb position ios  

VERSION 15.19 [2.6.2024]

 - [UPDATE] social sharing add email, sms
 - [UPDATE] option to convert description url to links 

VERSION 15.16 [30.5.2024]

 - [FIX] disable to show subtitles on youtube default player when chromeless player is used

VERSION 15.15 [26.5.2024]

 - [UPDATE] Google Analytics 4

VERSION 15.1 [20.5.2024]

 - [FIX] preview seek auto on hls media type with mid advert

VERSION 15.09 [19.5.2024]

 - [UPDATE] css improvements for theme conflicts

VERSION 15.05 [11.5.2024]

 - [FIX] subtitles on chromecast with encryption

VERSION 15.02 [6.5.2024]

 - [FIX] ios preloader visible on start above big play button 

VERSION 15.01 [30.3.2024]

 - [FIX] vimeo single video list not working

VERSION 15 [22.3.2024]

 - [FIX] statistics play count if percent set to zero
 - [FIX] vimeo api next page results on total scroll

VERSION 14.99 [11.3.2024]

 - [UPDATE] youtube api improvements

VERSION 14.98 [26.2.2024]

 - [UPDATE] demos and help on load more in player and grid

VERSION 14.95 [25.2.2024]

 - [FIX] chromecast subtitles

VERSION 14.9 [16.1.2024]

 - [ADD] option show video sort videos buttons above grid or player (latest / popular / oldest)
 - [UPDATE] option show date from now format in playlist items
 - [ADD] option to add custom buttons in player controls
 - [UPDATE] hide video title in fullscreen

VERSION 14.7 [28.12.2023]

 - [UPDATE] Youtube allow setting default language for subtitles on start
 - [UPDATE] when loading folder of videos, option to auto load video subtitles 

VERSION 14.65 [6.12.2023]

 - [FIX] skin aviva rewind, skip backward, forward button icons not working
 - [UPDATE] youtube live streaming

VERSION 14.6 [23.11.2023]

 - [ADD] navigator share

VERSION 14.59 [20.11.2023]

 - [FIX] Google Drive folder

VERSION 14.58 [31.10.2023]

 - [UPDATE] autoplay in viewport only loads video poster on page load 

VERSION 14.56 [21.10.2023]

 - [ADD] option to exclude Youtube shorts from showing 

VERSION 14.55 [19.10.2023]

 - [ADD] option to loop vast tag with pre ads indefinitely

VERSION 14.5 [12.10.2023]

 - [FIX] iphone playing vast twice before main video starts

VERSION 14.46 [10.10.2023]

 - [UPDATE] chromecast improvements

VERSION 14.4 [8.10.2023]

 - [FIX] parsing vast file error depending on vast content
 - [FIX] access to the feature "xr" is disallowed by permissions policy
 - [UPDATE] skip empty vast when ima loader is not used      

VERSION 14.3 [26.7.2023]

 - [FIX] url link defined on video pause now works for both advert and normal video
 - [UPDATE] playlist item content is now in order (title, date, description) so date if used in not shown under description in playlist items
 - [UPDATE] do not show solo seekbar when video is live stream 
 - [ADD] create playlist with object markup instead of html
 - [ADD] show view count in playlist items (valid for html5 video, not Youtube or Vimeo which would require more quota)

VERSION 14 [6.7.2023]

 - [UPDATE] player markup is now generated internally
 - [ADD] stream video from a camera 

VERSION 13.71 [1.6.2023]

 - [UPDATE] display video subtitles in iPhone native fullscreen

VERSION 13.7 [30.5.2023]

 - [ADD] mobile compact playlist option

VERSION 13.6 [20.5.2023]


 - [FIX] transcript scrolls page 
 - [FIX] up next close button triggers next video
 - [FIX] skip advert button causing advert loading incorrectly  
 - [FIX] change video preloader which does not use css perspective because of flickering on safari
 
 - [ADD] mobile friendly scroll option for settings menu, transcript langauage menu, chapter menu
 - [ADD] option to synchronize transcript langauge with subtitles
 - [ADD] add keyboard info dialog in settings menu
 - [ADD] new keyboard action close dialog (info, share..) with escape key
 - [ADD] option to preserve playback rate when changing video  
 - [ADD] option to use global popup close button so it always displays above popup content on small screens 

 - [UPDATE] floating video top position 
 - [UPDATE] custom menu with call to action (playlist icons) in playlist items
 - [UPDATE] new zoom controls in settings menu
 

VERSION 13.37 [12.5.2023]

 - [UPDATE] swipe tolerance (minimum distance to trigger swipe)

VERSION 13.36 [4.5.2023]

 - [FIX] keyboard controls scroll page (spacebar, page up, down)

VERSION 13.35 [24.4.2023]

 - [ADD] auto open fullscreen on play click option
 - [ADD] inline adverts while video plays with user roles configuration

VERSION 13.3 [19.4.2023]

 - [UPDATE] debounce search

VERSION 13.27 [13.4.2023]

 - [UPDATE] prevent mobile hover for icons
 - [FIX] 360 virtual reality mobile sometimes now working

VERSION 13.25 [3.4.2023]

 - [UPDATE] option to insert your own preformatted title and description for playlist items and updated search

VERSION 13.21 [12.3.2023]

 - [FIX] amazon S3 private bucket not loading

VERSION 13.2 [6.3.2023]

 - [UPDATE] centered image annotations not to loose width on small screen 
 - [UPDATE] chapters repeat, share buttons visible only on active chapter item (css change)
 - [ADD] popup advertisements on pause (any HTML content) individual or global (behave differently than annotations)
 - [UPDATE] choose between slide and alpha transitions in player (info, share, embed, playlist selector, chapter window, transcript)

VERSION 13.05 [1.3.2023]

 - [UPDATE] Vimeo api update

VERSION 13.03 [14.2.2023]

 - [FIX] playlist selector change playlist click inconsistent

VERSION 13.02 [12.2.2023]

 - [FIX] pollux skin fullscreen button

VERSION 13.01 [2.2.2023]

 - [FIX] main video not playing after advert

VERSION 13.0 [9.12.2022]

 - [UPDATE] prevent horizontal swipe when too vertical finger drag happens

VERSION 13.0 [9.12.2022]

 - [FIX] some bugs with using search field and navigating between playlist items and transcript
 - [FIX] player shadow moved to inner element so its not visible until player loads 
 - [FIX] age verify screen would not show second time if we change video without interacting with age verify screen first
 - [FIX] active transcript item not selected on transcript language change
 - [FIX] AWS S3 not getting poster and thumb from folder
 - [FIX] if you copy embed url that already contains player query url parameters, they will get doubled
 
 - [ADD] loader for pagination grid
 - [ADD] option to pass Hls and Dash config parameters
 - [ADD] retrieve video title and description in your localized language for Youtube
 - [ADD] option to remember video quality across different videos 
 - [ADD] option to hide annotations on mobile
 - [ADD] option to advance to next video if current fails

 - [UPDATE] converted to javascript (no jquery dependencies) 
 - [UPDATE] accessibility improvements on player markup (buttons and inputs for seekbar)
 - [UPDATE] whatsApp share 
 - [UPDATE] added CSS container queries 
 - [UPDATE] added share and repeat buttons to chapter menu / window
 - [UPDATE] update to gtag analytics
 - [UPDATE] prevent seeking past mid adverts if havent already played
 - [UPDATE] added advert and chapter indicators to solo seekbar
 - [UPDATE] skin aviva & sirius, seekbar goes above controls on narrow screens to make room for other buttons
 - [UPDATE] embeded player is always 100% height of embedding container
 - [UPDATE] seekbar tooltip showing on mobile  
 - [UPDATE] choose swipe action  
  

VERSION 12.51 [26.10.2022]

 - [FIX] input password causing autocomplete search field, changed to type text

VERSION 12.5 [16.9.2022]


 - [FIX] coming next video screen was visible even with single video in playlist
 - [FIX] if video autoplay was off, youtube videos would show youtube red play button on start instead of player play button  

 - [UPDATE] add private audio over Amazon S3 bucket
 - [UPDATE] option to remember playback position for all videos in playlist
 - [UPDATE] disable css hover styles for mobile
 - [UPDATE] show We are offline image when you are not streaming 
 - [UPDATE] added icon to unmute button
 - [UPDATE] apect ratio option active again
 - [UPDATE] some improvements for RTL layout
 - [UPDATE] option to use global keyboard controls
 - [UPDATE] embed copied text
 
 - [ADD] transform video option with controls (zoom, rotate video and save state)
 - [ADD] set custom video end screen (show your own HTML and CSS after video ends)
 - [ADD] watch limit feature (disable video playback at specific time and show custom image with optional url)
 - [ADD] bottom seekbar when controls autohide
 - [ADD] option to add custom icons in playlist with url link attached to each
 

VERSION 12.31 [10.5.2022]

 
 - [UPDATE] thumbnail image not required for skip ad window
 - [FIX] vast non linear ads used without ima loader do not show

VERSION 12.3 [5.5.2022]

 
 - [FIX] chapter window close button not working
 - [FIX] tooltip sometimes wobbly
 - [FIX] restrict content header title missing from translation
 - [FIX] transcript header title language not updated on language change
 - [FIX] playlist button navigation css for buttons overwritten
 - [FIX] chapter window display in horizontal bottom navigation
   
 - [ADD] combine player ratio option (remove black bars around video in both player and playlist mode)
 - [ADD] playlist selector option in playlist (choose another playlist)
 - [ADD] option to auto advance to next playlist
 - [UPDATE] option to use default browser scrollbar in playlist
  
 

VERSION 12.15 [21.3.2022]

 
 - [FIX] fail to play next 360 video
 

VERSION 12.12 [21.2.2022]

 
 - [FIX] subtitle vtt will fail if it contains multiple newline breaks in a row
 - [UPDATE] option not to pause video when click embed, share, video info...
 

VERSION 12.1 [22.1.2022]

 
 - [FIX] seekbar position not updating when keyboard controls are used to seek and video is paused
 - [FIX] elements visiblity comparing video width, not whole container width when calculating what icons to show on different screen sizes
 - [FIX] You are watching resume screen (if already opened) stays visible after we click on another playlist item 
 - [FIX] youtube / vimeo single video sometimes not loading on start
 - [ADD] option to load multiple vimeo single videos in one query
 - [UPDATE] "Activate When Parent Visible" changed to boolean 
 - [ADD] option to load Youtube and Vimeo video details without api key 

VERSION 12.0 [17.12.2021]

 
 - [FIX] quickly opening between share / embed / info window could leave video playing in the background
 - [FIX] setting link on video advert pause opens url link twice  
 - [FIX] using search field in playlist scroll to playlist top when videos are filtered
 - [UPDATE] specify video quality for mobile for self hosted videos
 - [UPDATE] simplify data-path for adverts
 - [UPDATE] option to load subtitles, chapters cross domain
 - [ADD] video embed screen (embed single video or whole playlist)
 - [ADD] age verification screen for video
 - [ADD] transcript window showing all subtitles (change language + search function)
 - [ADD] chapter window showing all chapters (alternative to chapter menu, + search function)
 - [ADD] option to exclude specific videos from showing in Youtube or Vimeo feed (channel, playlist ..etc)
 - [UPDATE] option to specify midroll adverts start time in percentage 
 - [UPDATE] option to specify adverts skip time in percentage  
 - [ADD] support for IMA, VAST, VMAP, VPAID, SIMID 
 

VERSION 11.20 [2.11.2021]

 
 - [ADD] play videos from OneDrive (single or folder)
 - [UPDATE] option to load folder of 360 videos, Google drive folder of 360 videos, amazon s3 folder of 360 videos, OneDrive folder of 360 videos
 

VERSION 11.16 [9.10.2021]

 
 - [FIX] previous chapter button showing always

VERSION 11.15 [20.9.2021]

 
 - [FIX] audio ad not showing image poster if set
 - [FIX] Apple IOS remember playback position time
 - [ADD] option to show chapter title in player top left 
 - [ADD] previous chapter button in controls
 - [ADD] Amazon S3 support with private buckets with presigned url 

VERSION 11.11 [13.8.2021]

 
 - [FIX] changing height of the vertical playlist when its below the player not working
 - [FIX] display poster on mobile active on desktop as well
 - [ADD] AirPlay support 

VERSION 11.1 [30.5.2021]

 
 - [UPDATE] support for clicktag ads during video playback
 - [FIX] local subtitles for live streaming (hls, dash)
 - [FIX] if autoplay in viewport unmutes video with user page interaction, mute icon is still showing in player controls   
 - [ADD] next chapter button 
 - [UPDATE] clicking chapter menu will auto start video with "show Controls Before Video Start" option 
 - [ADD] Chromecast support 

VERSION 11.05 [28.4.2021]

 
 - [UPDATE] Show poster on pause works with autoplay true (when poster is not shown on start)
 - [ADD] load Google Drive folder of videos

VERSION 11.0 [14.4.2021]

 

 - [FIX] live streaming video quality menu duplicating on select
 - [FIX] audio not playing on ios
 - [FIX] audio visualizer disabled on ios and poster is used instead
 - [FIX] up next thumb time not registered
 - [FIX] if main video had poster, poster was shown when main video resumed playing after mirroll ad finished
 - [FIX] thumbnail hover preview using only preview from active video for all playlist items
 - [FIX] prevent custom context menu over player video description
  
 - [UPDATE] when description over thumbnail is used, playlist position vertical right / bottom will automatically switch style description over thumbnail / description right of thumbnail for best visual appearance
 - [UPDATE] thumbnail hover preview can be gif or a small video
 - [UPDATE] limit playlist description text has been changed to number of lines to show instead of number of characters. 
 - [UPDATE] option to remember last used subtitle
 - [UPDATE] searching for videos in playlist will only play videos found by search
 - [UPDATE] chapter title moved below preview seekbar thumbnail
 - [UPDATE] show video poster before asking for password protected videos
 - [UPDATE] improvements on Sirius skin, gradient added below controls to better emphasize controls above the video
 - [UPDATE] add media type "custom" can now be added as HTML directly in admin (using external file is still available option) 
 - [UPDATE] new keyboard controls selector and keyboard controls only active when cursor above the player (now working with multiple players in page) 
 - [UPDATE] new grid layouts
 
 - [ADD] mid-roll advert coming in... 123 seconds message
 - [ADD] support for vr stereoscopic videos 
 - [ADD] option to use PerfectScrollbar instead of mCustomScroll in playlist 
 - [ADD] audio slideshow as alternative to audio visualizer while audio plays
   [ADD] option to prevent user from seeking into not yet watched part of the video
 

VERSION 10.71 [19.2.2021]

 
 - [FIX] youtube not autoplay after we click resume screen
 - [FIX] vimeo default player not resume after we click resume screen
 - [FIX] youtube, vimeo single video use without api not saving
 - [FIX] video advert ending causes link to open if set on video

VERSION 10.7 [7.2.2021]

 
 - [FIX] add url to image ad not working
 - [UPDATE] annotation shown by default on small screen or when player is small in size ( can be adjusted in responsive breakpoints section ). 

VERSION 10.65 [22.12.2020]

 
 - [FIX] live stream video quality change
 - [FIX] Android click unmute button pauses video 

VERSION 10.63 [26.10.2020]

  
 - [FIX] swipe not working
 - [FIX] subtitles not visible when video has advert
 - [FIX] 360 video not pannable when used as advert

VERSION 10.62 [13.8.2020]

 
 - [FIX] password field input not working

VERSION 10.61 [18.7.2020]

 
 - [UPDATE] play 360 video from hls or dash source

VERSION 10.6 [10.7.2020]

 
 - [FIX] vimeo download video not working  
 - [FIX] playlist position grid / wall description style below thumbnail not working
 - [FIX] youtube playback rate not working 
 - [FIX] annotation close not removing correct annotation when showAnnotationsOnlyOnce 
 - [FIX] create tables on multisite
 - [FIX] create playlist from video statistics not working
 - [FIX] image ads not detect duration
 - [REMOVE] removed Youtube deprecated playback quality menu
 - [UPDATE] set poster for custom HTML
 - [UPDATE] preloader visible before player loads
 - [UPDATE] if duration is used in playlist item thumbnail, duration is set after metadata if not available previously
 - [UPDATE] google analytics moved to callbacks
 - [UPDATE] social sharing url for multiple players in page 
 - [ADD] attach category / tags to videos and filter videos with category / tags in frontend
 - [ADD] option to show video poster on pause   
 - [ADD] option to hide player until playlist starts loading
 - [ADD] option to prevent Vimeo player from tracking session data, including cookies
 - [ADD] new skins and templates (grid and lists of thumbnails, separated playlists from player)
 - [ADD] option to show multiple playlists in page at once 

VERSION 10.05 [18.4.2020]

 
 - [FIX] global per playlist video password not working

VERSION 10.0 [12.4.2020]

 
 - [FIX] mediaEndAction poster keeps duplicating posters
 - [FIX] seekbar wrong calculation
 - [FIX] "spaced" layout having next / previous playlist buttons in wrong position
 - [FIX] video preloader hidden when resume screen is shown (so its now seen behind transparent resume screen)
 - [FIX] IOS require double tap on unmute button if controls hidden
 - [CHANGE] video poster is always shown (if exist) regardless of autoplay
 - [UPDATE] remember playback position now works with adverts (it remembers main video position, adverts are always played if exist) 
 - [UPDATE] lock video time is now available as global playlist option
 - [UPDATE] support for unlimited number of ads before and after main video
 - [ADD] option to randomize ads
 - [ADD] option to show video duration in thumbnail and upnext
 - [FIX] up next thumbnail not showing correctly with random play
 - [ADD] up next / watched thumbnail over next and previous buttons
 - [ADD] coming next screen between videos (new mediaEndAction)
 - [ADD] related videos screen after video ends (new mediaEndAction). Show related videos from other playlists and load playlist on demand. 
 - [ADD] chapters menu list and button in controls to show chapter menu
 - [UPDATE] option to display video controls before video starts including chapter selector (requires video duration on self hosted video) 
 - [UPDATE] menu items bigger padding for better mobile usability
 - [ADD] player settings can now be passes with query string (parameters begins with "mvp-")
 - [ADD] create playlist from query string parameters 
 - [UPDATE] share specific video in playlist when used with social networking (direct link to video and current time)
 - [UPDATE] right click context menu update, share url to specific video in playlist
 - [UPDATE] option to provide multiple youtube api keys

VERSION 9.6 [1.3.2020]

 - [ADD] unmute button to unmute the video 
 - [ADD] optional search field in playlist
 - [UPDATE] use your own input search field for playlist items and specify dom selector 
 - [ADD] optional closed caption button in controls to toggle caption state
 - [UPDATE] autoplay in viewport multiple players like facebook
 - [ADD] open player in lightbox (with or without playlist)
 - [ADD] init player on dom selector click (and open specific video)
 - [ADD] optional button to close player minimize
 - [ADD] display collections from Vimeo (on demand), Vimeo user videos, Vimeo folders
 - [ADD] LIVE indicator in controls for live streams (auto or manual)
 - [ADD] option to disable seekbar to prevent skipping video
 - [ADD] only logged in users can download video (non logged in users are presented with login or register message)
 - [ADD] lock some videos, only logged in users can watch specific videos (or partial watch, for example first 15 seconds)
 - [ADD] callback beforeLoginScreen called before login screen opens 
 - [ADD] optional resume playback position prompt - ask user to continue watching where left off or start from the beginning
 - [FIX] parse vtt with multiline of text

VERSION 9.56 [31.1.2020]

 - [UPDATE] cleaned double autoPlay setting (no more forceMutedAutoplay), autoPlay settings is now reponsible for muted autoplay

VERSION 9.55 [21.1.2020]

 - [UPDATE] player now retains layout in page while minimize on scroll 
 - [UPDATE] Google Analytics update
 - [UPDATE] new setting: combinePlayerRatio (boolean) keeps video ratio same when playlist is opened / closed in vlb, vrb layouts
 - [ADD] option to hide playlist on player minimize 
 - [ADD] restrict player width on minimize
 - [ADD] option to sort media loaded from folder
 - [ADD] set playback rate values
 - [ADD] load json playlist
 - [ADD] load any HTML into the player (ex. Facebook videos, Google maps etc..)

VERSION 9.53 [3.1.2020]

 - [ADD] option to activate the player when parent visible 

VERSION 9.52 [25.11.2019]

 - [FIX] hide player controls after image start with no duration, and after iframe shown in player

VERSION 9.51 [16.11.2019]

 - [UPDATE] toggle subtitle font size with keyboard controls (+/-)

VERSION 9.5 [16.11.2019]

 - [FIX] lightbox not opening when poster set
 - [FIX] truncate playlist description not working if playlist is closed on start 
 - [UPDATE] updates to player resizing (player never larger than viewport)
 - [UPDATE] new code generator for skin layout
 - [ADD] theater mode

VERSION 9.4 [25.10.2019]

 - [ADD] option to show poster after video end screen (self hosted, youtube, vimeo)
 - [ADD] option to skip poster 

VERSION 9.3 [14.10.2019]

 - [ADD] new optional buttons in controls (rewind, skip backward, skip forward)
 - [ADD] new buttons in advert (volume, fullscreen)
 - [UPDATE] set default video quality on mobile
 - [ADD] load more option for self hosted media
 - [ADD] option to choose Youtube and Vimeo thumbnail size 
 - [ADD] audio visualizer as alternative to poster showing while audio plays
 - [ADD] image support
 - [FIX] Vimeo sort order

VERSION 9.1 [18.9.2019]

 - [UPDATE] Youtube api quota optimization

VERSION 9.0 [28.8.2019]

 - [UPDATE] all new skins
 - [UPDATE] code improvements

VERSION 8.6 [14.6.2019]

 - [ADD] seek to chapter start option (when chapters are used) 
 - [UPDATE] improved mouse inactivity over player
 - [FIX] adverts not working with youtube, vimeo videos without data-noapi attribute
 - [ADD] option to set sticky video only if video is playing 

VERSION 8.52 [3.6.2019]

 - [UPDATE] add font awesome namespace to prevent conflicts

VERSION 8.51 [13.4.2019]

 - [FIX] click on playlist item cancels load more on total scroll

VERSION 8.5 [15.3.2019]

 - [ADD] playlist is stored in browser to limit API requests for Youtube, Vimeo and other services

VERSION 8.46 [4.2.2019]

 - [ADD] support for Vimeo private unlisted videos

VERSION 8.45 [27.1.2019]

 - [ADD] load Youtube channel by username, load Vimeo album by username

VERSION 8.41 [3.12.2018]

 - [ADD] set any frame as poster for self hosted video 
 - [UPDATE] some controls layout improvements

VERSION 8.4 [1.12.2018]

 - [ADD] picture in picture option 
 - [ADD] mpeg dash support
 - [ADD] new controls style
 - [ADD] chapter markers in seekbar for adverts
 - [UPDATE] small code improvements

VERSION 8.23 [17.11.2018]

 - [UPDATE] elements visibility
 - [FIX] few bugs

VERSION 8.22 [13.11.2018]

 - [UPDATE] direction RTL compatibility
 - [UPDATE] dynamic subtitle font size 
 - [UPDATE] auto sort break points from low to high
 - [UPDATE] seekbar and time auto hide for Youtube live stream videos
 - [ADD] new player skins
 - [ADD] hover preview for playlist thumbnails (gif)
 - [ADD] option to change any player icon with svg icons
 - [ADD] custom right click context menu
 - [FIX] scroll navigation horizontal playlist set width after new api playlist load

VERSION 8.1 [4.10.2018]

 - [ADD] new playlist positions (vertical left, horizontal top)
 - [ADD] new sharing sites (reddit, pinterest, digg, linkedin)
 - [ADD] optional published date in playlist items for Youtube and Vimeo (with title and description)
 - [FIX] wrong tooltip position in lightbox mode
 - [FIX] wrong grid gutter calculation
 - [FIX] pre roll advert preventing annotations to show on main media 

VERSION 8.0 [26.9.2018]

 
 - [ADD] password protected content (global per playlist or individual)
 - [ADD] option to set image alt text
 - [ADD] automatically generate Vimeo download links
 - [ADD] AdSense support in player 
 - [ADD] option to limit large description text
 - [ADD] active item and timestamp parameters in url 
 - [ADD] optional poster image for Youtube and Vimeo
 - [ADD] option to display poster image on mobile to preserve bandwidth 
 - [ADD] WhatsApp share button
 - [UPDATE] improvements on Minimize player on scroll option
 - [UPDATE] added optional scrollbar for description and embed area instead of browser default one
 - [UPDATE] improved subtitle styling
 - [UPDATE] improved iframe loading in annotations
 - [FIX] small bug fixes

VERSION 7.62 [6.8.2018]

 - [ADD] Google Analytics tracking
 - [ADD] option to swipe the video

VERSION 7.6 [2.8.2018]

 - [CHANGE] new controls style
 - [UPDATE] improved vimeo playback (vimeo playlist can now contain both default and chromeless videos)

VERSION 7.55 [23.7.2018]

 - [UPDATE] improved chapters on mobile
 - [ADD] CSS shadow effects on player
 - [ADD] option to remember playback position on page reload
 - [ADD] new ad events to track ads (callbacks)
 - [FIX] mouse wheel on button navigation

VERSION 7.51 [19.7.2018]

 - [FIX] chapters not working on Android
 - [FIX] big play button appearing over Vimeo default player

VERSION 7.5 [15.7.2018]

 - [ADD] conditional script loading (improves usability and performance)
 - [ADD] added video chapters option
 - [ADD] pre roll, mid roll, end roll adverts, individual per video / global per playlist (adverts can be self hosted videos, audio, images, youtube single video, vimeo single video)
 - [ADD] on screen popup annotations, individual per video / global per playlist (show/hide HTML elements on screen during playback)
 - [ADD] optional protected media and video urls (url encryption)
 - [ADD] optional custom html content in playlist items 
 - [ADD] vimeo chromeless player 
 - [ADD] video redirect feature (on video end go to url)
 - [FIX] some issues with 360 playback
 - [FIX] video start time
 - [CHANGE] loadMoreOnTotalScroll moved from settings to data-load-more attribute on playlist item
 - [UPDATE] elements visibility (hide subtitles, annotations, upnext on mobile)
 - [UPDATE] overall code improvements

VERSION 6.99 [11.6.2018]

 - [UPDATE] updates to lightbox layouts
 - [ADD] optional up next video feature
 - [ADD] option to hide certain buttons on mobile 
 - [ADD] new transparent controls layout
 - [ADD] Live Streaming Multiple Audio Tracks and Subtitles support 
 - [FIX] remember playback rate speed on quality change
 - [FIX] playback quality change for youtube reloading video instead of quality

VERSION 6.97 [31.5.2018]

 - [ADD] Youtube playback option without cookies
 - [FIX] navigation type buttons sometimes showing with no more items to load on load more option
 - [ADD] New 100% window size layouts
 - [ADD] optional grid calculations for playlistPosition outer (grid, wall layouts)

VERSION 6.95 [25.5.2018]

 - [UPDATE] forceMobileAutoplay changed to forceMutedAutoplay
 - [ADD] add optional thumbnail preview when seeking video (requires sprite of images for each video + vtt)
 - [ADD] option to minimize and fix player anywhere on the page when scrolling (limited to one player in page)
 - [ADD] another demo with svg icons

VERSION 6.91 [14.5.2018]

 - [UPDATE] update for Chrome autoplay

VERSION 6.9 [9.5.2018]

 - [ADD] new option to autoplay videos after first video has been manually started
 - [ADD] new option to start playing video when player is visible on the page
 - [ADD] new demos with pagination and lightbox
 - [ADD] option to have youtube default player controls
 - [FIX] some bug fixes and code improvements

VERSION 6.75 [25.4.2018]

 - [ADD] now you can set player ratio for video area (for example 4/3, 16/9 etc..) 
 - [CHANGE] playlist width and heigth is set with javascript.
 - [UPDATE] load more button is now automatically removed when there is no more data to load 
 - [FIX] video not resizing if autoplay is false and poster was used  
 - [FIX] lightbox mode fullscreen

VERSION 6.7 [20.4.2018]

 - [ADD] new view player as lightbox option
 - [UPDATE] some layout improvements (player keep 16/9 ratio on playlist toggle, improved button scrolling customizability)
 - [FIX] fadding only newly added thumbs on load more
 - [UPDATE] new demos and layouts

VERSION 6.52 [5.4.2018]

 - [FIX] bugfix incorrect horizontal playlist width calculation due to margins (for buttons or hover navigation)
 - [FIX] youtube video not resizing with custom data-width, data-height attributes
 - [FIX] fullscreen icon not switching 

VERSION 6.51 [5.4.2018]

 - [FIX] bugfix with hover navigation

VERSION 6.5 [2.4.2018]

 - [UPDATE] new playlist scroll options (buttons and hover)
 - [UPDATE] new demos and layouts

VERSION 6.12 [21.3.2018]

 - [FIX] youtube api initialization with multiple players in same page

VERSION 6.1 [15.3.2018]

 - [UPDATE + ADD] updated "Load More" method for Youtube and added "Load More" for Vimeo
 - [FIX] few bugfixes

VERSION 6.01 [8.3.2018]

 - [UPDATE] added mobile autoplay

VERSION 6.0 [5.3.2018]

 - [FIX] fade in thumbs
 - [FIX] some playback improvements
 - [FIX] improved autoplay
 - [FIX] improved multiple instances 
 - [FIX] other bug fixes
 - [UPDATE] new way of handling image and font icons in player
 - [CHANGE] controls animation changed to fade (easier to change skin and move buttons to different position of the player)
 - [ADD] support for playing audio files (mp3/wav/HLS Live Streaming)
 - [ADD] support for playing Vimeo video ( Vimeo default player or chromeless player with custom controls for Pro members; Support for Vimeo album, channel, group, search videos, single video )
 - [ADD] support for custom iframe (show any iframe into the player: Daily Motion, Wista, Google Maps...etc)
 - [ADD] optional image duration in miliseconds (show time on screen)
 - [ADD] optional sortable playlist items
 - [ADD] new API methods (add track to player, remove track from player)
 - [REMOVE] image zoom

VERSION 5.28 [22.2.2018]

 - [FIX] update css for youtube RTL

VERSION 5.27 [22.2.2018]

 - [FIX] bug fix with active playback rate menu item

VERSION 5.26 [19.2.2018]

 - [FIX] description not showing in some cases

VERSION 5.25 [15.2.2018]

 - [UPDATE] some css updates and improvements
 - [FIX] some javascript bug fixes and improvements

VERSION 5.2 [10.2.2018]

 - [UPDATE] unified media paths. All paths in HTML are now defined as data-path="..."
 - [UPDATE] updated documentation on subject

VERSION 5.1 [29.1.2018]

 - [UPDATE] simplified inner code, removed all references to playlistDataArr, playlist data is now read directly from playlist items
 - [FIX] bug fix, video holder hidden on quality change

VERSION 5.05 [28.1.2018]

 - [FIX] fixed xml examples in data/xml folder
 - [FIX] small bug fixes
 - [UPDATE] updated help documentation

VERSION 5.0 [15.1.2018]

 - [UPDATE] Completely new player designed and coded from scratch, with new features