Hi there, I just discovered this module today, and I think it's fantastic. I watched through your 2.0 intro video and I'm gonna be using this a lot!
I was most intrigued by the "after-thought" you had at the end, where MediaFront can pull in video from anywhere with just a text-field, and re-skin the video. That solves an issue I saw in my quick initial testing with the Media module's media browser.
So Media module has some helper modules that allow remote stream wrappers from different sources. Your text field solution is a lot less work than setting that up, but the one thing the stream wrappers provide is a unified interface to select media using the "Web" tab of the Media browser.
But when I added a test youtube and vimeo video, I was getting "double-skinning", where MediaFront just overlaid its skin on top of the Youtube/Vimeo controls.
So my question/feature-request is this: is it possible to have MediaFront "de-skin" those videos that are added through the Media's remote stream wrapper modules? For sites that already have things set up to add all media this way, it would be a great thing. If it's not possible, I certainly understand, but it'd be a great feature to have.
Comments
Comment #1
michaelschutz commentedHmm, I just did a test with your text field solution, and the Vimeo video was still "double-skinned" as well. So MediaFront is acting consistently on my test site, whether using the Media module's remote stream wrappers or MediaFront's text field. So now I'm not sure that my specific feature request still applies - if MediaFront acts the same in both contexts, great. Maybe the feature request is to "de-skin" all videos then re-skin them with the chosen MediaFront one.
Comment #2
travist commentedIf you are testing with Vimeo, then I am afraid this is an issue with Vimeo not allowing other players to remove the controls from their player. I hope they fix this soon since it is a cause of frustration on my end where you see the double controls on the player. One thing I may try is to just place a black background on top of that so that people are not confused for the vimeo videos, which I may add in a future release. Let me know your thoughts on that.
Thanks,
Travis.
Comment #3
michaelschutz commentedOk thanks, yeah it's showing up as double controls whether I use your text box or add it through the Media module browser.
If Vimeo won't let us "de-skin", then your suggestion is a good one. As an alternative, is it possible to simply show Vimeo videos with no Mediafront skin, so all people would see is Vimeo controls? I know that's not necessarily preferable from a site branding perspective, but for some use cases it wouldn't be a big deal (for me, at least). If Mediafront could offer that as an option, maybe that's a solution for any providers that won't let the de-skinning happen.
Comment #4
michaelschutz commentedHi Travis, just another comment, thought I don't know how helpful it will be...
In testing out Vimeo Plus, it's possible to remove all the player elements from videos. So if a site is primarily embedding videos that one has control over, then you can set this up in Vimeo.
Obviously it's more of a hack, and not even a great one, since it would only work if you have direct control of those settings on Vimeo. But it's a workaround in certain use cases, I suppose, if the goal is to embed stuff and have a consistent MediaFront look on all videos on your own site.
Comment #5
lauggh commentedHi Travis,
First, totally appreciative of all your work on MediaFront.
I think any hack documented for now for non-Vimeo Plus folks (like myself) is helpful.
Amatuer question, how would you add a black background over the player controls? CSS in the MediaFront theme?
Please advise.
Comment #6
xurizaemonThis should work to remove the controls and leave you with Vimeo controls (untested except for Vimeo + in Chrome).
!IMPORTANT was required because mouse hover will set display: block on the controls.
Unfortunately it will apply to all videos, so if you have other backends which you want the controls for, you'll need to handle the difference somehow. Hence #1704588: Add classes to denote media backend used for embed - spinning off a separate issue for more detailed CSS classes so we can apply this only as required.
Comment #7
boabjohn commentedG'Day all,
We are keen Vimeo users, have a Plus account, and we're having the problem of the duplicated controls. #4 sounds promising, but we can't afford to cut the controls out of videos that are played directly on Vimeo, which I understand is the penalty of using that strategy.
This puts up a serious UI blocker for the whole module (for us).
Is it possible to resolve this somehow by inserting a "toggle controls on/off" that would affect the OSM player and thus allow Vimeo to come through? I would prefer to have OSM controls but obviously if Vimeo are not opening up their player code then there's no way forward there, eh?
Any recent thoughts on this issue?
Kind regards,
JB
Comment #8
docans commentedHere is my work around to #6 which will enable you to disable the OSM player contols and have only the vimeo controls and it affects only the Block or the page your video will be show in
My Solution.
Step 1: install the css injector module from https://drupal.org/project/css_injector
Step 3: Setup your views according , create a view display as block or page and configure it to view your video from vimeo. (Dont worry if the two controls are still showing)
a. go to www.mywebsite.com/admin/config/development/css-injector/add
b. Leave all other option the same and save.
Step 5: In the Views advanced settings , under "CSS class" , add "hide-osm-control" and save
Comment #9
cruze72 commentedYou can remove the Vimeo control bar by doing the following:
- Sign up for a Vimeo Plus account
- Go to your Vimeo account and go to the 'Embed' settings for your chosen video
- Scroll down to under the video preview to player preferences and uncheck the 'Show Play Bar' option
No hacks required but a $9.95 per month subscription :)
Comment #10
steve3d3 commentedI think #2 is the best solution. I hate to have the MediaFront player confusing to any user, whether or not a paid Vimeo Plus account is being used. I love MediaFront as a video solution and I hate to see it not optimized under any circumstance.
Comment #11
Anonymous (not verified) commentedxurizaemon - In regards to #6...where should this code be inserted? In the theme's CSS or in the MediaFront CSS? I tried both, to no avail.
Comment #12
xurizaemon@gr8britton - I would have added that to the CSS of the current theme.
Comment #13
Anonymous (not verified) commented@xurizaemon - I have tried putting this into the theme's CSS and even made sure the MediaFront preset says to NOT show the controller. After each CSS file I edit, I flush the CSS cache and try again. Still the OSM controller displays. Do you have suggestions of what I might be doing wrong?
Comment #14
xurizaemonSorry @gr8britton, it's been some years since I looked at this and I don't have access to the site it was on any longer. From what you're saying it sounds like a CSS debugging issue more than a module issue though.
Perhaps Vimeo or this module changed the classes so you need to modify the selector which worked for me back then? You're just trying to disappear one of the sets of controls ...
Comment #15
MihaiMiculescu commentedRemove Vimeo controls for browsers for desktop computers:
1.(If you didn't do so already) Add a custom stylesheet file to your theme as described here . Make sure your css file is added at the end - just before print.css
2. Make a note of the name of the Mediafront preset you created and saved. For the sake of the argument, let's say presetname
3. Open your custom css file and add this at the very end of it
4. Turn off css aggregation
5. Flush the cache
6. Turn css aggregation back on