Loading video dynamically on parent page

I have a list of video links on a portfolio website page. I
need the video to load in a fixed place on the parent page when the
link is clicked. When the user clicks a new link, the new video
should replace the old one in the same spot.
I have achieved this with images but for the life of me I
cannot figure out a way to do the same thing for video!!!
HERE'S THE CODE I USED FOR THE IMAGES-
function showPic (whichpic) {
if (document.getElementById) {
document.getElementById('placeholder').src = whichpic.href;
if (whichpic.title) {
document.getElementById('desc').childNodes[0].nodeValue =
whichpic.title;
} else {
document.getElementById('desc').childNodes[0].nodeValue =
whichpic.childNodes[0].nodeValue;
return false;
} else {
return true;
Here is a link to my original files to demonstrate what I'm
trying to do.
http://www.thomas-bradley.com/TempTesting/anim.html
I have been stuck on this problem for a long time.
PLEASE SOMEONE SHOW ME THE LIGHT!!!

If you use Flash Video, look at Wimpy Audio/Video Player. A
single player
can be used to present an entire playlist of media files.
www.wimpyplayer.com/products/wimpy_av.html
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"Shweta Agarwal" <[email protected]> wrote
in message
news:fc8udr$nmi$[email protected]..
> I have a list of video links on a portfolio website
page. I need the video
to
> load in a fixed place on the parent page when the link
is clicked. When
the
> user clicks a new link, the new video should replace the
old one in the
same
> spot.
>
> I have achieved this with images but for the life of me
I cannot figure
out a
> way to do the same thing for video!!!
> HERE'S THE CODE I USED FOR THE IMAGES-
>
> function showPic (whichpic) {
> if (document.getElementById) {
> document.getElementById('placeholder').src =
whichpic.href;
> if (whichpic.title) {
> document.getElementById('desc').childNodes[0].nodeValue
=
whichpic.title;
> } else {
> document.getElementById('desc').childNodes[0].nodeValue
=
> whichpic.childNodes[0].nodeValue;
> }
> return false;
> } else {
> return true;
> }
> }
>
> Here is a link to my original files to demonstrate what
I'm trying to do.
>
http://www.thomas-bradley.com/TempTesting/anim.html
>
> I have been stuck on this problem for a long time.
> PLEASE SOMEONE SHOW ME THE LIGHT!!!
>
>
>

Similar Messages

  • How to make a page that should be inside an iframe load up it's parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags , Google et al are almost certain to index these pages fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make the page fragments load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas/tutorials/sites I can nick code from/complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    Actually, I did carefully choose this forum as being the most appropriate since my question, or rather what I imagine the answer might be, will involve things like scripting and/or cookies.
    Would that not make it "dynamic" enough to remain here?
    Thanks
    Peter

  • Loading videos dynamically into FCP?

    Does anyone know if it is possible to load videos/images into FCP dynamically? I know it can be done in Flash using an XML file but can it be done similar in FCP?
    Thanks in advance for any help!

    Well, if you mean relinking an instance of a clip in a sequence to a new quicktime file, then yes.
    Final Cut will not support authoring these types of interactive or dynamic relationships into QuickTime movies, but you can use QuickTime Pro to take movies you make from Final Cut and build in the type of functions I think you are referring to. IIf you have FCP, you have a QT Pro license.
    Read some of the tutorials you can find hhere: I think this is what you are looking for::
    http://www.apple.com/quicktime/tutorials/refmovies.html
    but no, Final Cut won't do that kind of stuff by itself.

  • How to make a page that should be inside an iframe load up its parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags, Google et al are almost certain to index these page fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make a page fragment load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas / tutorials / sites I can nick code from / complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    For the last year, I have to refresh my browser to load certain normal pages...IE opens them, but not Firefox. I also have extreme difficulties loading video from sites including YouTube, Yahoo, etc. I open them in IE just fine. I update all the time.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.6.0_07 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Dynamically load Videos from Database

    I want to know how to load video into an flvplayer from a streaming server (Adobe Media Server 3.5) from a database.  It has to be set up this way because I have to be able to allow the client to import new videos when ever they want to through a web interface (the client isn't particularly tech savvy and as such requires a very simple system to import information).  Also it would be helpful if someone could give me a rundown on how to make the video clickable (kind of like the way hulu.com's adds work, where if you click on the video, it pauses and opens a new window redirected to their advertisers).
    Thanks,
    Michael

    Hi,
    I can suggest you create an Asset Library and upload your video files into the library, then use the Media Web Part to show the video.
    More information:
    http://office.microsoft.com/en-us/sharepoint-server-help/add-video-or-audio-to-a-page-HA102232435.aspx
    http://smallbusiness.chron.com/stream-video-sharepoint-47210.html
    http://blogs.msdn.com/b/sanjaynarang/archive/2010/05/20/media-web-part-in-sharepoint-2010-faq.aspx
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Parent page changes after iframe loads

    I am using an iframe on one of my pages to include a shopping cart (Magento 1.5.0.1).  As is, everything looks and works perfectly in Google Chrome, but in IE8, once my iframe actually loads, it changes the font of my nav bar (the fonts are included at the top of my css file), as well as relocating where the text in my title bar sits (which I have height, text-align, and vertical-align all set in my css).  My iframe is in it's own separte div tag, and I can't figure this out.  My web page is: http://asc.pcassistant.net/merch.php
    My html goes as follows:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Merch</title>
    <link href="http://asc.pcassistant.net/main.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="wrap">
    <?php require("header.php"); ?>
    <script type="text/javascript">
    document.getElementById("title").innerHTML="M E R C H";
    </script>
    <div id="content">
    <iframe src="http://asc.pcassistant.net/shop/" width="100%" height="1000px" scrolling="no" frameborder="0"></iframe>
    </div>
    <?php require("footer.php"); ?>
    </div>
    </body>
    </html>

    I am starting to believe that this problem is due to my iframe's source's .css file changing my parent page.  Is there any way to contain that .css file to ONLY the iframe?  The site used in my iframe is my own site on the same server, the band just prefers to keep the header and footer the same, as well as the background images on the side, BUT, with the shopping cart, I have NO CLUE how to add all that in (99% of the files are JUST PHP, which I only have a basic knowledge of).  If I knew how to skin the shopping cart perfectly, I'd do that, but that's near impossible for me seeing as I've designed this website in a little over two weeks starting with only basic understanding of html.  How can I keep my shopping cart's css to itself in my iframe?  (http://asc.pcassistant.net/shop is the orignial source for the shopping cart).

  • IE 11 Parent Page/Tab refreshes automatically when we close Child page before completion of load

    HI,
    We have opened the application in IE 11 then when i am click on the button it will open another window, before it is opening fully we have closed the child page then it is refreshing parent page automatically because of this  what ever the changes we
    are having in the parent page got lost. 
    Please help me regarding the same. Thanks.

    Hi ,
    Would you please share us with more details?We will check whether it is caused by the website or the IE.
    What kind of  this application is ? Is it an add-on or a feature built-in the specific website?
    Does this is problem occur on a specific website or all of the websites?Would you please share one problematic  website with us if possible and give us a guide so I can test in my own machine?
    Is it the first time to work with this application if it is an add-on?
    If you are the developer of the IE application or website, then I suggest you  post this issue in the
    Internet Explorer Dev Center to look for help. Here is the link:
    Internet Explorer Dev Center
    https://social.msdn.microsoft.com/Forums/ie/en-US/home?category=iedevelopment
    Best regards

  • Brand new Mac suddenly does not load videos or plays them while buffering every 30 seconds.  Also, pages do not completely load with header, sidebar, photos, etc. loading more slowly.  What's up with this??

    My new Mac has worked beautifully until recently when it stopped loading videos from emails, websites, Amazon, etc.  Those that do load are constantly buffering and are impossible to watch.  Since I did not alter any settings or download any programs, can anyone determine what may be causing this sudden malfunction?  I have Comcast high speed Internet.  Thank you for any help you can provide.

    I have the same problem and it has just started in the last day or so...
    Got the phone late July and then in the last day, everytime I plug into PC or take a photo,  I get the same "Disk Error / Retry message"
    What is interesting is that I always had the Photo Storage location as the Memory Card (detachable).   Seems odd that sometime in the last month or so the phone decided to change my setting to the Mass Memory. Might have been an firmware update that I have done in the past but not sure.
    Changing the Photo Storage Location back to the Memory Card has stopped the error coming up everytime a Photo wastaken, but the message continues when I plug in the phone to the PC.
    Phone was just updated to latest firmware this morning and that has not helped, although during the back-up process I could not save some files from the Mass Memory.
    I wonder if Optus will shout a new phone because their technicians are useless with past experiences and to be honest the N97 really promises so much but offers very little compared to all of my last Nokia's.

  • Dynamically loading video

    How can I implement the following code to load video from xml
    file path as opposed to net stream?
    Thanks in advance!

    This tutorial here should have everything you need...it sure
    helped me.
    http://www.adobe.com/devnet/flash/articles/video_playlist.html

  • Put a child page into a region in a parent page?  (APEX 2.2.0)

    Hi, all,
    Thanks so much for all of your help previously.
    I want to have the entire contents of child page inserted into a region of parent page. The child page uses the "Empty Template" template and has an report region that uses the "No Template" template.
    The parent page has a region containing a single div into which I want to insert the child page. If I do this using JavaScript and htmldb_Get object, inserting the result of the AJAX request into the DIV, I get what I want. I can't figure out how to preload the page into the region.
    I've tried using the URL region, but I keep getting
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1674
    ORA-12545: Connect failed because target host or object does not existwhen I enter the URL for the child page.
    I can't use UTL_HTTP.REQUEST, either.
    select utl_http.request('http://myserver/f?p=100:100:12345678901234')
    from dual;I get roughly the same error. (I copy and paste the same URL that I use for the AJAX request. I can also type that URL into a browser and get the page.)
    I can get both Google's and Oracle's Web sites this way.
    My other option is to render the entire page to a string, store it in a VARCHAR2 / CLOB, and output it to the screen. Is there a way (maybe using WWV_FLOW) to render a page to a string?
    I want to avoid using DHTML when it's not needed and I don't think that I would need it to initially load the page.
    Thanks!

    Carl,
    (Sorry about the reply gap.)
    As best as I can tell, iframes can't auto-fit their contents without JavaScript. I've also heard mixed things about iframes and accessibility. The contents of the iframe also don't inherit the CSS definitions from the parent frame. (None of those may be good enough reasons to not use iframes, but I am totally unfamiliar.)
    There are workarounds for all of those problems, but I'm just as inclined to write some PL/SQL function that generates my page for me and call that from a PL/SQL region, since the page is so simple. It might take me less time to write the PL/SQL function and PL/SQL region than it will to make the iframes look pretty.
    Thanks for the reply!
    Message was edited by:
    Don_84
    Well, that's odd. When I changed my authentication scheme from what I was using to the database authentication (the DAD one), the utl_http.request call works, as does the URL region. So the authentication is getting in the way. I wonder if there is a (elegant) way around that?
    Message was edited by:
    Don_84
    Is WWV_FLOW.SHOW documented? In a PL/SQL region, I can call
    WWV_FLOW.SHOW(P_INSTANCE => '&SESSION.', P_FLOW_ID => '100', P_FLOW_STEP_ID => '1000');where 100 is my app number and 7000 my page number, but it only works if I have no other regions. Otherwise, the page entirely fails to render.

  • A swf in an iFrame calling javascript function on Parent page

    I have a .swf that has to load in a iFrame and needs to call a browser cookie javascript function that lives on the parent page that loads the iFrame.
    I'm using this:
    ExternalInterface.call("javascriptFunction");
    but of course this call is not making it to the Parent page javascript function.  Is this possible to do?
    Thanks!

    The parent page has the javascript function, and has a iFrame that loads the swf.  The swf needs to call the javascript function that lives in the parent page.
    Thanks!

  • HT1338 hi, my firefox and safari are both having difficulty loading certain parts of web pages. previous to this my firefox would freeze and state that a script was not responding. i would stop the script and reload the page and everything would be fine.

    hi, my firefox and safari are both having difficulty loading certain parts of web pages. previous to this my firefox would freeze and state that a script was not responding. i would stop the script and reload the page and everything would be fine. now though the pages just load very very slowly or load leaving out certain pictures and video content. i've tried clearing my cache's and cookies, resetting my browser etc, but it seems like its a system issue as both safari and firefox are having issues. i've run Avast to screen for malware and it came up empty. any suggestions?

    10.4.8's been a pain for Networking... not sure of all the reasons though, or whether all the complaints might not be MS working around Bugs/Non-compliance, but at this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, boot holding down CMD+s, then when the prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    Fixes a lot of problems, and besides, if your Mac ever gets to the point it won't Boot... this is a life saver!
    After you run that... let's see where we are.
    BTW, several ISPs seem to have trouble with their DNS Servers lately, might try these insead...
    208.67.222.222
    208.67.220.220

  • I having trouble with a scrolling page......where i have a video.  the pages between the video and the previous page jumps and show a gap between the pages.....i'm not sure if it is the spped or what?

    I keep getting a gap between scrolling pages of a video and a regular page.  Not sure why.  I keep adjusting the speed, but still I get a gap in the pages as it scrolls.  Thanks.

    Hello cor-el, I apologize for not letting you know if your suggestions about my question worked or not. I came down with pneumonia and then caught the flu on top of that. Today I tried what you had suggested about disabling the hardware acceleration and it didn't make any difference. You had also gave me a link to he article about plug-ins and when I clicked on the list of the current plug-ins I have the following is what came up:
    Fox-it Reader Plug-In for Mozilla, 2.2.3.703
    Microsoft DRM 9.0.0.3250
    (drm netscape network object)
    Microsoft DRM 9.0.0.3250
    (drm store netscape plug in)
    Shockwave Flash 12.0.0.43
    Windows Media Player Plug In Dynamic Link Library 3.0.2.628
    (np dsplay d11)
    Windows Presentation Foundation 3.5.30729.1
    When I then clicked to see if there were updates available, the only one that it said was updated was the Shockwave Flash. The Windows Media Plug In Dynamic Link Library, said the status was vulnerable and the other three said the status was unknown. Does any of this make sense to you and are there things that should be on the plug in list that aren't? I apologize for the length of my post but I wanted to give you as much information as possible. Thanks for your help

  • Errors in loading video such as in Youtube and other sites that uses Adobe Flash Player, even I updated the program.

    error loading video or games

    You did not supply much information with your question:
    #In Add-ons > Plugins, do you see "Shockwave Flash ''(version)''"? If not, Flash is not installed for Firefox; see below
    #You can test Flash on this Adobe page: https://www.adobe.com/software/flash/about/
    There are 2 versions of Adobe Flash; an '''ActiveX version''' for IE only and a '''Plugin version''' for most other browsers including Firefox. On a Windows system, you should always update both individually.
    #'''Using Firefox''', go to the following direct download link and SAVE the download to your desktop so you can find it later: http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player.exe
    #When the download is finished, close Firefox (File > Exit '''''OR''''' Firefox button > Exit)
    #Click or double-click on the file you just saved to your desktop
    #*In the installation window that appears, click the box to the left of "I have read and...." to place a check mark in the box
    #*The "Install" button in the lower right corner will now be highlighted, click it.
    #*The installation is quick.
    #Start Firefox and test your installation here: https://www.adobe.com/software/flash/about/
    #Direct link ActiveX version for IE '''''only''''': http://fpdownload.adobe.com/get/flashplayer/current/install_flash_player_ax.exe
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

Maybe you are looking for

  • 8625 failure to print anything from windows 8.1 computer on wirelessnetwork

    I installed the HP Officejet aio yesterday and I cannot get it to print anything from my computer.  I installed it on my home network.  My office mate has the same computer and is running on 8.1 and he can print to the 8625.  But I cannot.  The print

  • Menu page image and text cut off on burned DVD

    I burned a DVD using the travel theme. The project looks fine on my Intel iMac, but when I put the disc into my home DVD player, the menu page, which is not in letterbox format like the rest of the project, has the outer edges cut off and the text an

  • MOVED: MSI vr330x vga problem

    This topic has been moved to MSI Notebook. https://forum-en.msi.com/index.php?topic=144982.0

  • Web Upload

    I encountered a problem when uploading in Web; I received a message that there is not enough disk space - what disk space is it talking about?

  • HP 250 G2 usb controller drivers

    hello, i'm running a windows 7 64x bit ultimate edition on my hp 250 g2 with CPU N2810. i'm having a hard time finding some drivers for the following device Universal Serial Bus (USB) Controller. SP64706 and SP55975 can't install driver. Error: This