Activate multiple videos in a single...

User 2712911 Photo


Registered User
4 posts

What I would like to do is activate two streaming video embed codes and one html5 animation in a single image placeholder via three button links. I don't program enough to know if I should be using something like js "else" and "if" or if html5 has a offering that I don't know about. If someone could point me in the right direction that would be great.

My website is 30cuts.com. If go to the site and choose "Player" from the main menu "Pitcher" will be at the top of the page, choose "Day-Two" to get an idea of what I am trying to accomplish. What I would like to do is have the "Hitting" button activate a hitting workout video, the "Fielding" button activate a fielding workout video and the "Situation" activate a html5 animation in the image placeholder below it.

Thank you in advance for any responses to this thread.
User 2712911 Photo


Registered User
4 posts

Thank you for the views but I found the answer at W3Schools.

Name the iframe with the iframe name attribute then call it with the href

Best Wishes!
User 2712911 Photo


Registered User
4 posts

Of course, the animation you would call by the file name.
User 2088758 Photo


Senior Advisor
3,121 posts

Thank you for posting back. I saw your question but couldn't really help sorry.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2712911 Photo


Registered User
4 posts

Your welcome, no problem and have a good one!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.