I would like to show a youtube video when someone arrives on my drupal website. So basically, I want to launch a video in the main page as an overlay to the site.
How could I do? If it is possible without installing any modules?
I'd really appreciate any help, Thanks.
Regards.
You could use a JavaScript modal to act as the container to play the YouTube video.
Then use PHP sessions to determine if the JS modal has to be launched or skipped.
Related
We have used "Revolution Slider" in my site, On slider image we have added YouTube video layer and video is auto-play but video playing is completed it's doesn't automatically go to next slide.
Site URL : http://garyskyner.com/
We have already applied settings in slider when video play is completed it's go to next slide.
when you have buy the plug-in give you one code you can use to ask to the assistance, it's good and sure can help you.
If the first video when finish restart could be the second video have some problem to compatibility. If not sure you need check the setting because i have use and don't give me this problem.
i already have a website which has a static image(only one)
I am planning to enhance the look of the website on the cellphone.
Since i am a rookie, i am confused with using an owl-carousel template or an image-swipe view as you find on eBay where you can click on small thumbnail to view that particular image.
i have a doubt with the speed of page load.
I am using Apache Cordova to get the code working on Android.
Thank you in advance for your help....! :-)
So you are asking that when user will click on image, the image will expand.
To do this there is one jQuery plugin available here Now go to this website and download this plugin and integrate it on your website.
All the instruction is available for how to integrate it and also when you download plugin there is demo file so that you can easily learn how to integrate it.
Hope this helps.
I'd like to have a video banner on my WordPress site pages. I saw the following site (http://pictoryproductions.com/) and they have exactly what I would like to do on my site. However, I'm not sure what plugin they used to accomplish this. Could anyone just point me in the right direction?
I'm fairly new to WordPress, so if anyone can suggest what plugin to use, or if there is functionality already in place in WordPress for this how I can use it to get the effect I want.
UPDATE
As per the requirement to show what has been done so far to achieve the result I want, I have created a PHP page that uses the HTML 5 video tags to embed the video I want, with the PNG overlay. I then embed the page using an iframe tag from within WordPress. The problem is I have to create a new PHP page for each WordPress page I want with this layout when it needs a different video and overlay png image.
Thank you!!!
To avoid an opinionated answer on what I think is the best plugin to use, I just did a simple View Page Source on the site you posted and picked through to find where that video banner is displayed. It references a lot of classes and stuff labeled "mejs" which I think refers to a mediaelement.js plugin found here:
https://wordpress.org/plugins/media-element-html5-video-and-audio-player/
I'm working on a website and i use a wordpress plug-in that embeds youtube videos.
Now it has this great option to show only an image of the video and load the video only if you press the video so the page won't take a lot of time to load.
The problem is that in that mode it takes that video photo from youtube and it also takes a big, red, play button image that is ugly as hell :)
Now that button's css is coming from some external link (http://s.ytimg.com/yts/cssbin/www-embed-vflSBO3VV.css) and i don't know how to over ride it.
Any suggestions?
That is the site i'm working on btw - http://www.lab.gezerweb.com/ClipPress/
Thanks.
I believe you're talking about an embed that uses controls=2, correct? (See https://developers.google.com/youtube/player_parameters#controls)
If so, then no, there's no way to override the default play button in the cued state.
I´m having a big big problem with adsense, no matter what I do the adsense result iframe is loading inside other iframe. I´m using WordPress + Bootstrap Framework.
This particular site has two different ads, first use an adserver service which give me his own script, this script is placed in the header.php inside of a <div id="top-space"> and the adserver handle with the script to show an <iframe> and inside that iframe the objet flash of the banner.
The adsense code is in the sidebar and to place it I use a text wodget, put the code there and that´s it.
In 60% of the times the site loads in the correct position each banners, the adserver banners are in the top and adsense ads in the sidebar.
BUT! randomly the adsense iframe is loading inside of the adserver iframe. I tried to use this solution but don´t work at all.
I´m desesperate because my client is loosing money, the site don´t show the right ads, and some times adsense iframe push adserver ads so the site looks crappy.
Even I try to use adrotate wordpress plugin thinking that help me avoid this bug, but nothing.
This sounds like it could be a caching problem. I've noticed in the past, iframes usually don't refresh unless you specifically right-click and refresh each individual one. If you're running any WordPress caching, clear that, then your browser cache, or try an incognito window.