Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    In the plugin instructions, the playbutton attribute is listed in the section labeled “These options will only affect Flash playback in Strobe Media Playback video elements. They will have no effect on HTML5 or Video.js playback.” It doesn’t work unless you’re using the Strobe Media Playback player, which I don’t recommend.

    Which player are you using? Can you send me a link to a page on your site that has a video you want to remove the play button from?

    Thread Starter Basti.Sz

    (@bastisz)

    Hi Kyle,
    Thanks for your reply.
    I suppose this is the problem then. I am looking for a way to post the video without any buttons, just the control bar at the bottom and with the posibility of choosing the poster image. Unfortunately the default video player makes issues with some browsers when using poster image.

    The web is not yet made public so I can’t send a link for now.

    Plugin Author Kyle Gilman

    (@kylegilman)

    Does that mean you’re using the Video.js player? You can pretty easily accomplish what you want using CSS, but I need to know which player you’ve selected.

    Thread Starter Basti.Sz

    (@bastisz)

    I made the web public, the address is: http://www.vilalta.cat/www/
    The video is in the section About/Profile.
    Yes, it is video.js.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I wasn’t able to work on the CSS code until now, but it looks like you’re not using my plugin anymore. Let me know if you still want help.

    Thread Starter Basti.Sz

    (@bastisz)

    I made a test page with a video using your plugin:
    http://www.vilalta.cat/www/video/

    I added small CSS mod (below) but as you can see just the triangle disappeared. Can’t figure out how to make the button disappear and the control bar appear at the beginning.
    Thank you in advance for your help!

    .vjs-big-play-button::before{
    display: none;
    }

    Plugin Author Kyle Gilman

    (@kylegilman)

    You need to include the skin class in order to have full control over the player.

    This should make the play button disappear

    .kg-video-js-skin .vjs-big-play-button {
        display: none;
    }

    And this should display the controls when the page loads.

    .kg-video-js-skin .vjs-control-bar {
        display: block;
    }

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Can't hide play button’ is closed to new replies.