feature request: Add background=1 ability
See original GitHub issueFirst,
is background=1 deprecated?
I have a PRO account and even when I disable ALL embed preferences, you can still see a pause button when you hover over a video, which makes it annoying if you want to have a silent, short, and looping video in the background of your header to your homepage.
However, I can still use background=1 in the iframe source and have it go away. But that option has been removed from the official documentation and it’s not an option in player.js
I have this crappy work around but I’d rather not do this
var player new Vimeo.Player('elementId', options);
player.ready().then(function(){
var src = $('iframe').attr('src');
$('iframe').attr('src', src + "&background=1");
});
Please don’t deprecate/remove this feature!!
And please add it as part of an option in player.js!
thank you
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:13 (4 by maintainers)
Top Results From Across the Web
[Feature Request] ability to add a frame instantly
What I do now to do so is once paste the clip onto Adobe XD and add shadow around the image. I'd love...
Read more >Feature Requests: What are they and how to manage them
Feature requests are a form of product feedback you may frequently encounter as a SaaS product manager. They typically come in the form...
Read more >Ability to change Virtual Background from API
I would like the ability to change the users virtual background via the API. ... Has there been any movement on this feature...
Read more >how to draw on google slides - macellerialucio.it
2561 I would like to be able to draw-on/annotate my slides with a touch device ... Change the Text and background 1 to...
Read more >Feature Request - Allow Product and Services Selection when ...
They might consider adding the option you need in future updates. ... send a request to make improvements to QuickBooks Online's capability.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

So I took a stab at it and got it working in a sort of hack work-around. It’s all in the embed.js file. Just a few lines of code: ( disregard the typo in my branch name 😜 )
https://github.com/FranciscoG/player.js/blob/backgound-option/src/lib/embed.js#L21
https://github.com/FranciscoG/player.js/blob/backgound-option/src/lib/embed.js#L45
https://github.com/FranciscoG/player.js/blob/backgound-option/src/lib/embed.js#L93
it looks like the iframe html is being generate in an ajax called to the vimeo url. Background is being submitted but is stripped out in the return object, so I add it back in on the return.
I’m not going to submit a pull request cause I don’t think what I wrote is great, plus it needs tests, but I do hope it’s something you consider adding. 😄
This has been added for a while I believe.