Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Embed Object

Embed Object

Scheduled Pinned Locked Moved ASP.NET
javascript
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kurian_Kurian
    wrote on last edited by
    #1

    I want to show the selected video clip in the asp page.so am using the embed object and iwant to pass the selected videos path to that object.i tried lot but none of them is working.embed object code below i used javascript to pass the value to the object but it is not working javascript follows function playAudio(){ var doc = document.getElementById('path'); var doc1 = document.getElementById('media'); doc.value=hdVideo.value; doc1.src=hdVideo.value; } hdVideo is a hidden field,am setting value in this hidden field from their am taking the value.if am doing window.alert am getting the value,suppose if am hardcoding this value in the embed object it is working.but i want to pass the value at run time. Then body onload event i called this javascript.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups