How to hide flashes without turning them off

I am trying to hide some built-in flash objects without disabling them. Right now I put them in a div and using the jQuery UI hide method. The problem is that when I show flash later using the show method, Flash reloads. Is there any way to prevent this?

Is it possible for the flash to be hidden, but still working in the background? To preserve the position of a YouTube video that was paused in a div before it was hidden, for example?

+3
source share
5 answers

Try this CSS:

embed.hidden {
    position: absolute;
    left: -10000px;
}

Then, to display it, you just need to remove the "hidden" class

+4
source

- , wmode. , (, , ..) .

:)

+2

- :

.hidden {
  width: 0;
  height: 0;
}
+1

display:none?

0

div, div display none height - , display:none object, , -. , .

0

Source: https://habr.com/ru/post/1715378/


All Articles