0

Embedded Vimeo videos

Hello everyone, 

I'm trying to integrate videos from Vimeo on a Ninox form. The problem is that my videos are limited to specific domains so they can't be seen by anyone.

For example, I copied the embed code proposed by vimeo into an HTML field and the following message appears: "Sorry, unable to play this video due to privacy settings. But this same embedding code works fine on the other sites I authorized for this video. 

html("
<div style='padding:44.2% 0 0 0;position:relative;'><iframe src='https://player.vimeo.com/video/724263771?h=76576d8445&amp;badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479' frameborder='0' allow='autoplay; fullscreen; picture-in-picture' allowfullscreen style='position:absolute;top:0;left:0;width:100%;height:100%;' title='Enregistrement de l&amp;rsquo;&amp;eacute;cran 2022-06-26 &amp;agrave; 223412'></iframe></div><script src='https://player.vimeo.com/api/player.js'></script>
")

I asked Ninox about this and they say they are aware of a limitation of Ninox for site integration in HTML fields. Has anyone ever successfully embedded Vimeo videos on Ninox?

6 replies

null
    • buy
    • 1 yr ago
    • Reported - view

    I have only experience with Youtube, but this code is working :

     

    html("<iframe width=""560"" height=""315"" src=""" + 'Youtube embed' + """ title=""YouTube video player"" frameborder=""0"" allow=""accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"" allowfullscreen></iframe>")

      • Ninox developper
      • Jacques_TUR
      • 1 yr ago
      • Reported - view

      buy Thanks, but YouTube works for me too. I only have a problem with Vimeo when I set the streaming limitation to certain sites.

    • Ninox partner
    • RoSoft_Steven.1
    • 1 yr ago
    • Reported - view

    Jacques TUR

    Seems like you can also use the Vimeo API player used in a <div> when you have problems to display in an iframe.

    html("
    <script src='https://player.vimeo.com/api/player.js'></script>
    <div id='vimeo-player'></div>
    <script>
      var player = new Vimeo.Player(document.getElementById('vimeo-player'), {
        id: 'VIDEO-ID',
        width: 640,
        height: 480,
      });
    </script>
    ")

    Change the VIDEO-ID to yours.

      • Ninox developper
      • Jacques_TUR
      • 1 yr ago
      • Reported - view

      Thanks RoSoft_Steven but it's the same thing.
      When the video is protected by a limited number of possible callers it doesn't work:

      translation: where can this video be incorporated?

      It's like the request is not sent by ninox.com but by another server.

      • Ninox partner
      • RoSoft_Steven.1
      • 1 yr ago
      • Reported - view

      Jacques TUR 

      The old domain - API with Ninox was www.ninoxdb.de ?

      Maybe the request is send trought this interface?

      The old interface api.ninoxdb.de/v1 continues to work, so you don't need to migrate
      old integrations built with Zapier, Integromat, or other custom solutions.

      Pasted from here: https://docs.ninox.com/en/api/introduction

      Or you could set the video's to public I suppose.

      • Ninox developper
      • Jacques_TUR
      • 1 yr ago
      • Reported - view

      RoSoft_Steven Unfortunately, it doesn't work.

      I can't put these videos in public. It's confidential.

Content aside

  • 1 yr agoLast active
  • 6Replies
  • 359Views
  • 3 Following