Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8493319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:58:19+00:00 2026-06-10T22:58:19+00:00

Wondering if this is possible. I am working on a video page with a

  • 0

Wondering if this is possible.

I am working on a video page with a main screen at the top of the page and some small clickable screens below the main screen. So when you click the small screen at the bottom, the main screen will render the clicked video similar to youtube.

We got the data from ooyala like the one below: data=”http://player.ooyala.com/static/cacheable/fc6411f99c3b69d5987fcb94f4f48a94/player_v2.swf

Also, we don’t have the php code for the backend, so we can only use javascript, jquery and html to make the page.

So here are my questions. How to use html5 video tag, jquery or javascript and json to render each video if it is possible? Also, if anyone can provide any other possible solution or better solution, it will be greatly appreciated. Thanks in Advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:58:21+00:00Added an answer on June 10, 2026 at 10:58 pm

    Something like this should work…

    jQuery:

    $("a").click(function(){
        $(".video").html("");
        var url = $(this).data("url");
        $(".video").append("<video controls=\"controls\"><source src=\"" + url + "\" type=\"video/mp4\" class=\"video\" /></video>"); 
    });​
    

    HTML:

    <div class="video">  
    </div>
    <a class="one" href="#" data-url="VIDEO URL ONE">One</a>
    <a class="two" href="#"  data-url="VIDEO URL TWO">two</a>
    

    Example: http://jsfiddle.net/charlescarver/xJ6mz/1/


    Once you click on an <a> link, it takes it’s data-url attribute, puts it into a variable, then appends a video player to a div with the correct src.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm working on gcc , i'm wondering if this is possible: I have a
I'm working on this donut chart I was wondering if it's possible to assign
Wondering if this is possible with schema draft 03. I've gotten dependencies working elsewhere,
I was wondering if this was possible? I'm not familiar with using windows command
I was wondering if this was possible, and if so how I'd go about
I was wondering if this was possible... I have a sequence of variables that
I'm just wondering if this is possible, and if not, the best way to
I know this is possible in Perl, but I was wondering if this can
I'm wondering if this kind of thing will ever be possible in PHP (and
3I was just wondering if this type of query is even possible. If so,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.