mediafront / osmplayer

The Open Standard Media Player is an all-in-one media player for the web. It is an industry changing, open source (MIT) media player that is built to dynamically deliver any type of web media, including HTML5, YouTube, Vimeo, and Flash.
http://www.mediafront.org
MIT License
342 stars 181 forks source link

Parameter to load player with collapsed playlist? #62

Open zoogylong opened 10 years ago

zoogylong commented 10 years ago

example FYI I am not using a CMS

I have a page using multiple players and playlists. I'd like each players playlist to load collapsed (not removed like with disablePlaylist set to 'TRUE') instead of the playlists being visible by default.

All my osm page code, xml calls, and videos are working correctly not having any issues there - just not sure if there is a parameter I don't know about or if I would need to directly edit the OSM js or css to default the playlists to load collapsed to the side (as if they clicked the hide arrow). Due to the multiple players at relatively small sizes, having the players screen real estate cut in half by the playlist and shrinking the preview image is undesirable. I've tried combing the contents myself but am getting lost. Any help would be extremely appreciated. Thank you.

Vkomarov commented 7 years ago

it`s time to answer. $('.osmplayer-default-hide-show-playlist').click();