A
A
Andrey Smirnov2016-03-10 17:09:33
HTML
Andrey Smirnov, 2016-03-10 17:09:33

How to fix an error in an object?

Hello everyone, there is such a question:
I created a 3D tour, but it works for me, but does not show anything (the block does not open with the content and I believe that the flash itself does not load either). Tell me pzhl what could be the trouble?
Here is this code:

<div class="show-tour">
  <input id="tour" class="tour" type="checkbox" /> 
  <label for="tour">
    <label for="tour">3D тур</label>
  </label>
<div class="tour__open">
  <object id="flag" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="451">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://visualhotels.com/files/01/010167/Panoramas/7637_f.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="salign" value="rt" />
    <param name="wmode" value="transparent" />
  </object>
</div>
</div>

PS Now I left the code of only this very object, for some reason it does not load, as I predicted. I have not worked with objects in html at all, so I ask for help. Why doesn't it load, where did I go wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
weredy, 2016-03-17
@weredy

Write type and data attributes:

<object type="application/x-shockwave-flash" data="http://visualhotels.com/files/01/010167/Panoramas/7637_f.swf" id="flag" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="600" height="451">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="http://visualhotels.com/files/01/010167/Panoramas/7637_f.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="noscale" />
    <param name="salign" value="rt" />
    <param name="wmode" value="transparent" />
  </object>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question