• Using them embedded playlist feature in WordPress, I created playlists including videos and audios. Firstly, I’d like to disable the autoplay function. The original CSS code generated by Jetpack help centre didnt work:

    [code lang="css"]<br style="box-sizing: border-box;">.mejs-container.mejs-playlist-autoplay {<br style="box-sizing: border-box;">display: none !important;<br style="box-sizing: border-box;">}<br style="box-sizing: border-box; margin-bottom: 0px;">[/code]

    Also, by entering the above command, the play button and others have now disappeared. Any help to get the buttons to reappear and disable autoplay would be greatly appreciated.
    Many thanks
    Kaylie

Viewing 2 replies - 1 through 2 (of 2 total)
  • You mean the playlist that is integrated via shortcode? For example:

    [playlist ids="42,43"]

    I took a look at the code for this: https://github.com/WordPress/WordPress/blob/master/wp-includes/media.php#L2897

    I don’t see any autoplay setting there. Such a setting is not even displayed in the frontend. In my test, there is no autoplay at all. So I don’t know what you want to deactivate? Or are you talking about a different playlist?

    By the way, the code you showed only adds style properties. They do not influence an autoplay function at all. They only help with the appearance.

    Thread Starter kdpro2875

    (@kdpro2875)

    Hi threadi,

    Thanks for your reply. I actually just used the backend editor in wordpress. I created a page, clicked on add media and then create playlist and added my tracks that way. The tracks were autoplaying (not sure how) on the website so I tried to turn it off using CSS tool on wordpress. Now the play button and other on the bottom tab are invisible.

    I have no experience on shortcode so wouldn’t know how to access it or what to do there? But happy to learn.

    Thanks heaps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Playlist (no plugin) disable autoplay and play buttons disappeared’ is closed to new replies.