Question:

This code works with HIDDEN="false" but I get the Quicktime bar, but does not work at all with "true", why?

by  |  earlier

0 LIKES UnLike

<button onclick="document.getElementById('http:/...

<embed id="http://www.jimbronson.com/music/Take... src="http://www.jimbronson.com/music/Tak... loop="false" autostart="false" hidden="true">

<button onclick="document.getElementById('http:/...

 Tags:

   Report

2 ANSWERS


  1. instead of hidden=&quot;true&quot;

    try:

    visibility=&quot;hidden&quot; or visibility=&quot;visible&quot;


  2. Set it up with something like this:

    function handleControlsOnOffClick() {

    if (document.mediaPlayer.showControls == true) {

    document.mediaPlayer.showControls = false;

    document.playerCtrl.controls.value = &quot; Show Controls &quot;;

    }

    else {

    document.mediaPlayer.showControls = true;

    document.playerCtrl.controls.value = &quot; Hide Controls &quot;

    }

    }

    or style with: display: none;

    or: visibility: hidden;

    Display removes it from the document flow; visibility just hides it.

    Ron

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions