Telah Dianugerahkan

YouTube and Slideshow Autoplay

We are using Zoo's WidgetKit Slideshow. Currently, the slideshow is set to autoplay. We have put YouTube videos in the slideshow, but when a user clicks play on a YouTube video, the slideshow continues to slide.

The task is as following:

- When the user plays a YouTube video, stop the slideshow's autoplay.

- When the user plays a YouTube video, remove the caption, but only for the the slide that has the corresponding YoUTube video.

Here's a live example: [url removed, login to view] (slide 2)

Here's another discussion about it: [url removed, login to view]

_________________

Hello,

I've been impressed with yootheme for quite some time and I'm considering using it a lot more and expanding the volume of my licences. Congrats on all the hard work.

I have a question. I want to use widgetkit slideshow with a video embed, so I have video animation as the first slide in my slideshow. I had the same problem a year ago when i was trying to do this with gavick themes. I'm yet to see a slideshow player that properly responds when a video as a slide is activated. In your case, the slideshow continues to rotate as the jquery fires after you play the video.

Of course, we cant expect the slideshow to respond to an onclick event etc without being specifically programmed to do so, so i understand why this feature is not available unless somebody has thought to add it.

I know of a few ways to do this. I personally prefer youtube as my video hosting source for marketing reasons, and when using the Youtube API you can use a method to call a javascript function when the video is 'played'.

Secondly, of course you could simply respond to a click on the object in question or an area on the page, either works fine, although the first method is much more clean. (but unfortunately has a small delay on firing).

My problem is, I then need to read the programming of your application and try and work out how to stop the autoplay once my method fires. In the interim, I will just stop autoplay all together, but if anybody is farmiliar with the jquery used for the slideshow and can tell me what objects / to refer to in my custom function to stop the autoplay that would be greatly appreciated.

I understand this kind of support request kinda belongs in the 'request feature' section, thanks for reading in the event you decide to help.

______

Were you able to resolve this yourself? I just saw this posted question and happen to be facing the same issue myself.

I completely agree that slide AutoPlay should be paused when a video playback is activated for at least a few popular video sharing services supported and video players. However, as you explained, the various JavaScript objects needed to accomplish this are not known by the plugin at design time.

My approach to a solution for this would be to parse slide content, from within PHP, for strings containing embed / iframe references to supported video services after all [short codes] have been applied upon HTTP request. Doing this at the server helps limit this parsing to only those videos expected to be loaded from a WK Slide with AutoPlay enabled. A custom JS function will be available on the client to disable AutoPlay for WidgetKit Slides as specified by an expected WidgetKit $id parameter. This custom function will be bound to service specific video playback events in which the bind scripts will be dynamically prepared at the server and added in the page footer.

Well... that's a rough presentation of my thoughts anyway.

Let me know if you had a chance to review this more closely. If you started and haven't finished, maybe we can collaborate on a solution.

Thanks,

David Carroll

Edited Apr 20

Kemahiran: Javascript, Joomla, PHP

Lihat lebih lanjut: php slideshow autoplay, youtube slideshow, autoplay slideshow php, autoplay youtube slideshow, youtube programming, why we need jquery, why video marketing, what is an object in programming, we trying to function, video presentation service, video hosting service, tell me more about yourself, tell me about yourself question, tell me about myself, so tell me about yourself, php programming problem set, out source your animation, marketing a youtube video, marketing animation videos, javascript animation codes, how to respond to tell me about yourself, how to design youtube page, hard to approach, custom programming services, custom animation video

Tentang Majikan:
( 1 ulasan ) Champaign, United States

ID Projek: #4056523

8 pekerja bebas membida secara purata $217 untuk pekerjaan ini

itcslive

Dear sir, we are a web design, web development expert company. We are offering an efficient,professional ,friendly service. Can you check our skills in Private message box and discuss with us about your project? Thanks Lagi

$250 USD dalam 6 hari
(156 Ulasan)
7.3
Msolutions7

!!!!!!!Hi, Greetings of the day.****** READY TO START******Hire an expert team of JOOMLA,WORDPRESS and PHP developers, Web Designers who has been working since last 7 yrs on multiple projects. Will be available with yo Lagi

$199 USD dalam 5 hari
(55 Ulasan)
6.8
joomextensions

Hello, We are ready for this job, Please check Private Message. Regards.

$200 USD dalam 5 hari
(48 Ulasan)
6.7
bdweb

Thanks for the project opportunity. I would very much happy to place my bid on your project and I think all your requirement meet with my skill and expertise level. First I would like to introduce my self as a profe Lagi

$200 USD dalam 10 hari
(106 Ulasan)
6.0
chiragbudhb

I have more than 8 years of experience in PHP and open source, also have experience of handling complex project and I'm very much confident that I will able to manage this project. Please give chance to prove myself.

$225 USD dalam 5 hari
(14 Ulasan)
5.1
PhungTran

I'm here for you. So lets start our work please. Thank you !

$100 USD dalam sehari
(51 Ulasan)
4.6
muzammil21

we do not offer package we offer Only guaranteed results..100% quality work within time limit and ...Read more in PMB

$300 USD dalam 8 hari
(8 Ulasan)
4.1
defuz3d

Check details in PM

$260 USD dalam 6 hari
(5 Ulasan)
3.9