• Resolved Dreagnout

    (@dreagnout)


    Hi,

    I use this plugin with vimeo, so I dont need the thumb in the player that the plugin insert, because vimeo adds his own, so, is there any way to disable the thumb image of the plugin ON PLAYER (not on the video thumb category)?

    PD: I see that i need to click two times to run the video on my website (I used the vimeo option). It happens in all the videos, on click to “focus the video” and another click to play the video from the player controls of the plugins. It’s possible to fix this? (If i used the embed/iframe option instead the vimeo option, i only need to click one time, but im not a fan of using iframes.

    Thanks.

    • This topic was modified 5 years, 10 months ago by Dreagnout.
    • This topic was modified 5 years, 10 months ago by Dreagnout.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author plugins360

    (@plugins360)

    1. I use this plugin with vimeo, so I dont need the thumb in the player that the plugin insert, because vimeo adds his own, so, is there any way to disable the thumb image of the plugin ON PLAYER (not on the video thumb category)?

    Kindly use the following PHP code in your theme’s functions.php file. This should remove custom poster images on Vimeo videos.

    function aiovg_custom_video_attributes( $attributes ) {
    	if ( ! empty( $attributes['poster'] ) ) {
    		if ( strpos( $attributes['poster'], 'vimeocdn.com' ) !== false ) {
    			unset( $attributes['poster'] );
    		}
    	}
    
    	return $attributes;
    }
    add_filter( 'aiovg_video_attributes', 'aiovg_custom_video_attributes' );

    2. I see that i need to click two times to run the video on my website (I used the vimeo option). It happens in all the videos, on click to “focus the video” and another click to play the video from the player controls of the plugins. It’s possible to fix this? (If i used the embed/iframe option instead the vimeo option, i only need to click one time, but im not a fan of using iframes.

    Strange. I need only single click to play the videos in my local setup here. Please get me your site link in where I can check this issue directly.

    • This reply was modified 5 years, 10 months ago by plugins360.
    Thread Starter Dreagnout

    (@dreagnout)

    Hi,

    You can see an example here: https://www.fundacioncb.es/video/franco-anatomia-de-un-dictador-de-enrique-moradiellos/

    Check the PC version, for example.

    Thanks.

    Thread Starter Dreagnout

    (@dreagnout)

    Now I removed the plugin controls to show only the Vimeo Controls because the plugin controls dont have a built-in fullscreen on mobiles. Now fullscreen works in mobile version with vimeo controls but can’t control any of the vimeo control in the PC version. Check again here: https://www.fundacioncb.es/video/franco-anatomia-de-un-dictador-de-enrique-moradiellos/

    EDIT: If i remove the .mejs__iframe-overlay styles (position absolute, width and height 100%), removes the layer and i can use the vimeo controls, but the play built-in control plugin in the center of the video still appearing (.mejs__overlay-button), i can remove it too but I dont know if all of this is the best way to fix the problem.

    Thanks.

    • This reply was modified 5 years, 10 months ago by Dreagnout.
    • This reply was modified 5 years, 10 months ago by Dreagnout.
    • This reply was modified 5 years, 10 months ago by Dreagnout.
    • This reply was modified 5 years, 10 months ago by Dreagnout.
    Plugin Author plugins360

    (@plugins360)

    Our plugin uses MediaElement.js (WordPress core player) and this player library itself adds an layer over the player and protects the native Vimeo controls. So, disabling the custom player controls will have no use and still you cannot access the native Vimeo controls without writing a CSS hack. If you’re OK with Vimeo player controls, then I would recommend using our “Iframe Embed Code” option and add the Vimeo embed code.

    Plugin Author plugins360

    (@plugins360)

    Hi, I’m able recreate “click two times” issue and this occurs when “Autoplay” is enabled and happens because of the recent Autoplay policy changes by Chrome & Safari https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

    Our next version will have this solved. Until then, I would suggest you to disable the “Autoplay” feature.

    Thread Starter Dreagnout

    (@dreagnout)

    Hi,

    Thanks you for the fast reply.

    I used the embed src and insert in the vimeo iframe code in it:

    
    <iframe src="https://player.vimeo.com/video/311665663" width="640" height="360" frameborder="0"></iframe>
    

    You can see here, for example: https://www.fundacioncb.es/video/franco-anatomia-de-un-dictador-de-enrique-moradiellos/

    Now the only problem is that when I open the video in a mobile (for example, iPhone), the progress bar doesnt appear. If you isolated the iframe url (https://player.vimeo.com/video/311665663) and open it in a mobile again, it’s work correctly, with all the control items (progress bar included).

    How I can fix it? Thanks a lot.

    • This reply was modified 5 years, 10 months ago by Dreagnout.
    • This reply was modified 5 years, 10 months ago by Dreagnout.
    Plugin Author plugins360

    (@plugins360)

    Tested the link https://www.fundacioncb.es/video/franco-anatomia-de-un-dictador-de-enrique-moradiellos/

    When using Vimeo embed src in an iframe, you’re simply adding the Vimeo video player. I can get the player controls working fine in both my iPad and Android mobile. Sorry, I don’t have iPhone. Kindly test with some other devices.

    Thread Starter Dreagnout

    (@dreagnout)

    Thanks for the test!

    Do u even see the control progress bar on mobile devices? I cant see it on my iPhone/Android, I only see the play/pause button and the fullscreen button (of vimeo). In P all the controls appears correctly.

    Thanks.

    • This reply was modified 5 years, 10 months ago by Dreagnout.
    Plugin Author plugins360

    (@plugins360)

    Yes, I see the controls. Kindly check my screenshot https://prnt.sc/m8vg0s

    This is really strange. You’re simply adding a Vimeo embed code and I’ve no clue why you don’t see the controls.

    Thread Starter Dreagnout

    (@dreagnout)

    Yes, it’s strange. Check my screenshot on the last version of iOS using Safari:

    https://prnt.sc/m8vtaw

    Plugin Author plugins360

    (@plugins360)

    I just found this thread.

    Kindly try adding fullscreen attributes in the iframe.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Disable thumb on video player’ is closed to new replies.