S
S
Sergey Sofichev2016-02-24 17:53:03
HTML
Sergey Sofichev, 2016-02-24 17:53:03

Slider swiper(any) and Object Flash inside. Trigger on slide change, perhaps?

<div class="main-slider-wrapper">
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
          <object type="application/x-shockwave-flash" data="/img/flash/2015/flash" width="963" height="403">
            <param name="movie" value="/img/flash/2015/flash.swf?link=/service/topas/">
            <param name="quality" value="high">
            <param name="bgcolor" value="#ffffff">
            <param name="play" value="true">
            <param name="loop" value="true">
            <param name="wmode" value="opaque">
            <param name="menu" value="true">
            <param name="devicefont" value="false">
            <param name="salign" value="">
            <param name="allowScriptAccess" value="sameDomain">
            <a href="link"><object type="image/jpeg" data="/img/move.jpg" width="963" height="403"></object></a>
          </object>
      <a href="link" class="mobile-slide"><img src="/img/smart_move.jpg"></a>
    </div>
  </div>
</div>
<div class="slider-button-prev swiper-button-prev"></div>
<div class="slider-button-next swiper-button-next"></div>
<div class="swiper-pagination"></div>
</div>

It is necessary that initially all flash were disabled.
And after changing the slide, flash was launched in the active slide, and the rest were discarded.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Flasher, 2016-03-03
@thisishappi

Flash movie can be controlled using js (see ExternallInterface). The functions of the start of playback and reset must initially be prescribed in flash videos. Then, on the events of the slider, call them from js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question