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 6017689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:09:55+00:00 2026-05-23T03:09:55+00:00

I was experimenting with the new video HTML tags and I’ve tried to make

  • 0

I was experimenting with the new video HTML tags and I’ve tried to make a web-based media player. I tried using a file upload box to enter the object that should be played and that didn’t work, which meant I had to try using a text box. That worked to a certain extent, which is that the src property of the video would be edited, but it would be impossible to play the media.

My source code is as follows:

<input type="text" value="Path to file" id="med">
<input type="button" value="Play!"onclick="javascript:document.getElementById('vid2').src=document.getElementById('med').value">
<video width=800 height=400 controls id="vid">
    <source src="" id="vid2">
</video>
  • 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-05-23T03:09:56+00:00Added an answer on May 23, 2026 at 3:09 am

    This worked perfectly for me:

    <input type="text" value="Path to file" id="med">
    <input type="button" value="Play!" onclick="document.getElementById('vid2').src=document.getElementById('med').value;">
    <video width="800" height="400" controls="controls"  src="" id="vid2"></video>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Regarding the Youtube API Blog they are experimenting with their new HTML5 Video Player.
So I have been experimenting with building a new site... http://zergxost.com/test.html - it will
I'm experimenting a bit with the new canvas element in HTML. I simply want
I am new to C++ and experimenting with using pointers to return a values.
I'm new to web scraping and just started experimenting with Scrapy , a scraping
I am new to using OpenGL and am experimenting with jogl. I am able
I'm experimenting with the new Azure Websites Preview in SDK 1.7 and I'm trying
I've been experimenting with the new windows azure website feature, and im getting http
Im new to objC and Im currently experimenting on UISearchDisplayController. Basically I have an
I am new to Sql Server Service Broker and experimenting with it. I was

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.