Home Forums Plugins Support Vidi – Video WordPress plugin how to disable controls on youtube embed videos

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #5182
    paolo979t
    Supported

    hi
    i need to disable the usual control button on youtube embed videos, as “watch on youtube” or similar, is it possible?

    #5183

    Hi,
    Thanks for contacting us and choosing our product!
    About this issue you can go to wp-content/plugins/haru-vidi/assets/js then open file haru-vidi.js
    You need find function youtubeAPIReady on line 1012 and find this code for options of player

    var options = {
      enablejsapi:    1,
      html5:          1, 
      wmode:          'transparent',
      iv_load_policy: 3,
      autoplay:       0,
      playsinline:    1,
      rel:            0
    }

    About parameter you can find more here:
    https://developers.google.com/youtube/player_parameters
    Hope this help!

    ****
    Best regards,
    HaruTheme

    #5221
    paolo979t
    Supported

    i worked on this, but just some options are working, i disabled youtube logo, but what i need is to not let the people go to whatch the videos on youtube, (because they need to pay subscriptions for this), and now they can reach the video (private) on youtube and save in their playlist on youtube just clicking on the name of the video or watch late and share button in the frame. Because differnt from other plugin that i used before (video Central, but i dont like it, your is better), there there is not possibility to reach the video id on youtube (not for normal users 🙂 )
    So i’m wonderind if there is options i’m not discovered by myself or if u can suggest me something

    u still have wp credential in the second topic i ve created if u need
    i send also a screen of what i set in js but as u can see not all the parameter are working…

    Thanks for now

    Attachments:
    You must be logged in to view attached files.
    #5239
    paolo979t
    Supported
    This reply has been marked as private.
    #5256

    Hi,
    Please note that’s API from Youtube and we can’t change it.
    We checked and see can hide control with this parameter:
    controls: 0,
    But you can’t hide Youtube Logo if you hide control. That’s Youtube Policy.
    For show control and hide Youtube Logo use this:

    controls: 1,
    modestbranding: 1,

    You can see at Revision history on API parameter page.
    About Related Videos you can’t disable it. Please see it here: https://developers.google.com/youtube/player_parameters#release_notes_08_23_2018
    Hope this help!

    ***
    Regards,
    HaruTheme

    • This reply was modified 4 days, 1 hour ago by admin.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.