Any way to use a custom Parameter for vimeo embed without using an iframe?

I am trying to get some oembed parameters attached to my Vimeo clips. I tried to get it going using the following two instructions: Passing Parameters to a Vimeo link in a WordPress Custom Field - LimeCanvas.com Any way to use a custom parameter for YouTube embed without using an iframe - WordPress.SE.com Unfortunately what works for YouTube won't work for Vimeo, as the returning URL has no such string as ?feature=oembed that I can make str_replace work on. It …
Category: Web

Vimeo videos not working

We have two identical sites (one is a staging site) hosted on different servers. Both are running the same WordPress version 4.8.5. On one of these sites Vimeo videos are failing to load (previously these were working fine at some point in the past couple weeks). This has been tested using the default unmodified Seventeen theme to rule out any theme-related issues and the problem is the same. For example, when I insert a Vimeo video link on the faulty …
Category: Web

Vimeo froogaloop

Very much a newbie here, but I'm trying to use this idea to disable forward seeking in Vimeo clips embedded on a Wordpress site To my functions.php I've added function frogaloop_scripts() { wp_register_script('snippet', 'https://siteurl/wp-content/themes/themename/js/snippet.js'); wp_register_script('frogaloop','https://f.vimeocdn.com/js/froogaloop2.min.js'); } add_action( 'wp_enqueue_scripts', 'frogaloop_scripts' ); On a page with an embedded video, I've got <iframe id="video1" src="https://player.vimeo.com/video/xxxxx?api=1&player_id=video1" width="630" height="354" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe> Where 'video1' matches the iframe label in the codepen example. When I load the page source, I can't even see frogaloop being …
Category: Web

Optimal method for organizing videos by topics discussed?

We have a couple hundred (and growing weekly) videos that are all live 1-2 hour Zoom meetings hosted on Vimeo. Currently our members can log into our site and access all the videos which are organized by a handful of very-high-level categories. The trouble is that each video can cover a number of topics, and it's hard for members to figure out from the titles alone, which videos talk about topics X or Y. We want to find a way …
Category: Web

Vimeo thumbnails

I use Advanced Custom Fields to show Vimeo videoes on a site I am creating for a client - The client pastes the vimeo ID (the last letters in the url) in a field, and the video is shown. But I would also like to show thumbnail of the video, I am using the following (not working code) for this: <?php $imgid = the_field('video_link'); $hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$imgid.php")); echo $hash[0]['thumbnail_medium']; ?> This code only shows the video-ID on the page. But …
Category: Web

How to make video responsive in full height on mobile?

I have a problem I don´t find the way to solve it. I´m trying to make a background video to be responsive, so it looks full height on mobile, and it´s almost done, but it shows two borders on top and bottom and I don´t find how to solve it. The video is loaded from Vimeo. Could anyone please help me?? It´s a problem with css And this is the css code I´m using : .fluid-width-video-wrapper { position: absolute !important; …
Category: Web

Vimeo video play button color function

In the page editor I pasted a Vimeo link: https://vimeo.com/253989945 Which generates the following: <iframe title="Breakaway Music video Shot on the Canon 7D" src="https://player.vimeo.com/video/10679287?dnt=1&app_id=122963" width="580" height="326" frameborder="0" allow="autoplay; fullscreen" allowfullscreen="" data-origwidth="580" data-origheight="326" style="width: 580px; height: 326px;"></iframe> What I'd like to do is add an argument like &color=f1d925 Which would look like: <iframe title="Breakaway Music video Shot on the Canon 7D" src="https://player.vimeo.com/video/10679287?dnt=1&color=f1d925&app_id=122963" width="580" height="326" frameborder="0" allow="autoplay; fullscreen" allowfullscreen="" data-origwidth="580" data-origheight="326" style="width: 580px; height: 326px;"></iframe> I can copy and paste the iframe …
Category: Web

How to prevent Vimeo duplicate requests?

I've been tasked to optimize a wordpress site (big surprise...) and found that Vimeo embeds duplicates of their player api js file. I would have thought the browser would prevent this but apparently it doesn't and it bogs down the site very bad. See image below. Any ideas on how to prevent this? I welcome programming suggestions, server settings, etc. I have no problem creating a plugin if need be. Thanks! Edit: These videos are embedded, creating an iframe for …
Category: Web

oEmbed not working in WordPress

I am using custom embed URL for embedding a video. Embedding Youtube and Vimeo working really fine. But only this URL is not working. But if I add via iframeit is working. But I need to add this via oEmbed method. Please help. This is the URL I am working with. https://www.nanoo.tv/link/v/RmqoRVeT Note: If I use the same URL in another web site it is embedding and working really fine and oEmbed is working. Thanks in advance
Category: Web

Stop Vimeo video with javascript - inside a loop and using a modal window

Good night everyone, im trying to make a vimeo video stop when a tag are clicked. A modal window are called inside a "while loop". I found a code that use the vimeo api (http://jsfiddle.net/joan_r/dutzh512/) but this works only in my first video, the others doesn't stop when the tag are clicked. This is how my code are going: <script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script> <?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $query_args = array( 'post_type' => 'post', 'order' => 'DESC', …
Category: Web

Wordpress vimeo embed not working with https

We have recently migrated our WordPress site in https. All Vimeo videos stopped working and the following error is displayed. We are using this short code - [vimeo https://vimeo.com/ID-HERE] wp-config <?php /** The name of the database for WordPress */ define('DB_NAME', 'xx'); /** MySQL database username */ define('DB_USER', 'xx'); /** MySQL database password */ define('DB_PASSWORD', 'xx'); /** MySQL hostname */ define('DB_HOST', 'localhost'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8'); /** The Database Collate type. Don't …
Category: Web

Add parameters vimeo videos using wordpress embeds

I am using a custom field to embed any supported video on Wordpress so for example the user enters a video address on the custom field box : http://vimeo.com/72104173 and I implemented the following code on my theme : <?php $videourl = my_meta('video'); // get custom field value if($videourl!=''){ // if custom field exist ?> <?php $htmlcode = wp_oembed_get("{$videourl}"); //use oembed echo "<div class='video'>{$htmlcode}</div>"; //output the video ?> ... the result/output is below : <iframe ... src="http://player.vimeo.com/video/72104173"></iframe> the problem is …
Category: Web

Vimeo Froogaloop API, working in Fiddle but not WP

I'm trying to harness Vimeo's Froogaloop API to pause video embeds whenever a user clicks a certain element. I have it working perfectly in my Fiddle but it wont work in my Wordpress environment. I took some code from this thread to create a simplified version of the site I'm working on; HTML <div id="player1" class="col"> <div class="vid"> <iframe src="//player.vimeo.com/video/75817361?title=0&byline=0&portrait=0&api=1" width="100%" height="auto" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> </div> <div id="player2" class="col"> <div class="vid"> <iframe src="//player.vimeo.com/video/7038107?title=0&byline=0&portrait=0&api=1" width="100%" height="auto" frameborder="0" webkitallowfullscreen mozallowfullscreen …
Category: Web

How do I display Youtube/Vimeo video ID on custom post type when user enters it in custom meta box?

I have created a 2x shortcodes that displays a youtube video and vimeo video when the user enters the videos id in it, for example: [youtube id=""] [vimeo id=""]. Instead of entering this in my post I am trying to create a custom meta box that the user can enter the id in and then this is displayed. So far I have been able to create a plugin to display the meta box but I'm not sure how to get …
Category: Web

Vimeo video embeds doesnt seem to work with ACF

I was trying to embed a vimeo link into a site using ACF custom fields and I am not getting anything in the front end but just a blank space as shown below. I tried multiple approaches including a vimeo iframe as well as just pasting the link but nothing seems to work. The embed code is given below <h3>Watch a Video</h3> <iframe src="//player.vimeo.com/video/75791532?title=0&byline=0&portrait=0" width="500" height="375" frameborder="0" allowfullscreen="allowfullscreen"></iframe> I checked multiple sites and all of them say I should be …
Category: Web

Uploading video to vimeo using its API while bypassing php server limits

I have a code that uses vimeo upload API to submit video files to vimeo using a form in a WorpPress site. The process works fine as long as the video file size is below the file upload limit of the web server. Is there a way in the vimeo upload API to bypass any of the file upload limitations of my web server and use a direct approach to upload the video file to vimeo?
Category: Web

import a latest vimeo user video into a page

A user has many video on vimeo website. I want to display the latest video in a page from that videos. How will I do this? I used the vimeo channel gallery plugin and set the maxitems to 1 and it displays the latest video but the problem is that it also displaying the thumbnail of the video under the video player on the page. Any one who have some idea how will I do this?
Category: Web

Add a YouTube or Vimeo video as a post attachment?

I'm developing a gallery plugin and I was wondering if I could add a YouTube and Vimeo "embed" option to the media uploader to be able to add YouTube and Vimeo videos as attachments to a post instead of uploading the video files directly to the server. I'm thinking along the lines of an option with a textarea where one could put the YouTube or Vimeo HTML embed code and this would be added to the media library with a …
Category: Web

Are self-hosted videos a good idea?

I was wondering if I should use a service like Vimeo or instead choose to host my video on my server ? I built a family website: it's password-protected, not indexed by search engines, etc. It would be nice to have videos there too but I can't decide which way to go. Self-hosted videos Respect privacy I have plenty of space on my server (65GB) But I am concerned about bandwidth (they say it's unlimited but...) and about usability and …
Category: Web

Vimeo thumbnails

I use Advanced Custom Fields to show Vimeo videoes on a site I am creating for a client - The client pastes the vimeo ID (the last letters in the url) in a field, and the video is shown. But I would also like to show thumbnail of the video, I am using the following (not working code) for this: <?php $imgid = the_field('video_link'); $hash = unserialize(file_get_contents("http://vimeo.com/api/v2/video/$imgid.php")); echo $hash[0]['thumbnail_medium']; ?> This code only shows the video-ID on the page. But …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.