kill multiple youtube players
-
Very tyro, rookie with php and wordpress. I wanted a sort of category page that the twentyseventeen theme didn’t offer, and I didn’t find a straightforward plugin that would give me what I want, so, learning as I go, I thought I’d hack on it myself.
Starting with the twentyseventeen archive.php template as a base, I’ve been building a tentative custom category page (at the linked address). It displays a lot of video posts. It is possible now to set more than one of these videos going at once, and the bandwidth will not effectively support simultaneous streams. Is there any php I could embed in my template that would kill all other video players when a video is ‘played’?
Failing that, does anybody know a DOM event I might hijack in javascript that would serve this purpose?
- This topic was modified 5 years ago by . Reason: Moved to Fixing WordPress, this is not a Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘kill multiple youtube players’ is closed to new replies.