Allow full screen in Youtube video (Joomla module) - joomla

I need to allow the full screen button in embeded youtube videos.
I have this following module but I don't know how to edit it. Can anyone help me please?

You don't need Joomla. The following HTML code worked for me.
<iframe src="https://youtube.com/embed/4liKzXo2lRM?rel=0&autoplay=1" allow="autoplay; allowfullscreen" allowfullscreen></iframe>
A video of it working: https://www.youtube.com/watch?v=RP5G2OaLpB4

Related

how to target an animated video preview using Ruby and web driver

On this webpage http://www.dailymail.co.uk/news/article-4531394/Victim-led-death-teenage-drug-dealers.html.
The video appears to be playing but not in full until the play button is clicked on. But I want to target the video and be able to add this to my script but there are instances where there are more than one in a webpage e.g.http://www.dailymail.co.uk/home/index.html, if you scroll down the page.
Any assistance will be greatly appreciated thanks

How to make thumbnails in wordpress play audio after click through stratus

I probably searched through the entire web but couldn't find any help on this. Before I ask the question I must mention that I am a complete novice in web development.
I went through a lot of websites that enable you to play audio through stratus after clicking on a thumbnail. Although websites like indieshuffle.com and themusicninja do not use stratus, I was wondering how they get their photos to play songs in their audio players.
Similarly, I don't want my thumbnails to link to the post but instead I want people to play the corresponding soundcloud track after clicking on the thumbnail. Also, if it is possible to have play/pause buttons on the thumbnails it will be great.
Of course, I have ajax and stratus as well as the full width audio player installed as plugins.
I am guessing this has to do with embedding the shortcode for the track somewhere in the image.
Please help!!!
since you are complete new your best bet here is an album plugin or something
that will let you attach an image and have a mp3 file to relate to, and be displayed without much knowledge in coding.

Blackberry WebWorks HTML5 Eksternal Image Won't show up

I'm a newbie in developing on smartphone. After a short research, I choose BlackBerry WebWorks SDK.
My Device is 8530 (CDMA), Internet Connection through WiFi.
On my index.html, I need to show image with src from external link, for example
<img src="http://www.domainname.com/img/example.jpg">
No Luck, it won't show up. If the source is local image, it's work fine.
I already change the <access uri="*" subdomains="true"/> on config.xml also the image still don't show up.
Looking the answer on blackberry and stackoverflow forum with no luck.
Please help.
I would expect that the uri="*" access element would show the image. Another recommendation is to explicitly white list the domain that your image is coming from, like this:
Can you confirm that your page is loading fine, but its just the image that isn't appearing?

Yootheme widgetkit video and image gallery?

I am trying to find a way to play videos inside a yootheme widgetkit gallery.
Currently I am only able to show images, but i want to also have vimeo videos added to the slideshow...
Any thoughts please help.

HTML5 Video and degradation?

I've been playing around with the HTML5 video tag and I'm puzzled as to how best to degrade when you can't support a codec?
For older browsers (or IE) that don't support the video tag at all this quite is straight forward:
<video width="320" height="240">
<source src="vid.ogv" type='video/ogg'>
<source src="vid.mp4" type='video/mp4'>
<object>
<!-- Embed Flash video here to play mp4 -->
<object>
</video>
They will fall through and will receive the Flash version (or other alternate such as an image!)
How about when the browser does support the tag but not the codec - Like FireFox 3.5 for example - and I can't support OGG (possibly because I already have vast archives of H.264):
<video width="320" height="240">
<source src="vid.mp4" type='video/mp4'>
<object>
<!-- Embed Flash video here to play mp4 -->
<object>
</video>
All I get in FireFox 3.5 is a grey box with an x in it. This isn't exactly a great user experience for FireFox users! I can only think of using JavaScript to check for FF3.5 and change the DOM!! is this really the bad old all over again! ...or is there some part of the spec I'm missing out on like a 'novideo' tag?
An important part of graceful degradation is the querying capabilities... Dive into HTML5 is a great read... specifically, look at the video section. Relevant code here:
function supports_h264_baseline_video() {
if (!supports_video()) { return false; }
var v = document.createElement("video");
return v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"');
}
Note: this does require DOM checking, but for capabilities and not browser signature. It's the right thing to do :-)
Once you know if the browser can support, you can show your video tag or pull up a lightbox or redirect as you see fit.
One really good way to tackle this problem is to use modernizer js library.Its really easy to use and quick.It can check HTML5 capabilities in the user's browser . Visit the site here : http://www.modernizr.com/
Video for Everybody's test page indicates that Firefox 3.5 can only play OGG. You might want to add a flash version if you really don't want to add OGG. VfE also does not use JavaScript, so it might be worth looking into.

Resources