-1
我有這個SVG動畫: http://jeuderologie.fr/share/hom_intro_arrows.svg動畫SVG不打一臺服務器上,但玩的其他
你可以看到箭頭褪色和循環infintly。這很好,這是預期的。
但是,另一臺服務器上的同一個svg文件(我不能給出一個鏈接,出於安全原因)保持固定在繪製並從不播放動畫。
這怎麼可能?有一些配置可以在服務器上播放svg動畫嗎?
這裏的代碼,如果它可以幫助...
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="216 4.3 527 760" enable-background="new 216 4.3 527 760" xml:space="preserve">
<g>
<polyline fill="none" stroke="#0FF" stroke-width="40" stroke-miterlimit="10" opacity="1" points="728.9,18.7 480,261.3 249.8,18.7">
<animate id="anim1" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="0s;anim12.end+0.1s" additive="replace" calcMode="linear" from="0" to="1" dur="0.1s"></animate>
<animate id="anim12" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="anim3.end" additive="replace" calcMode="linear" from="1" to="0" dur="0.3s"></animate>
</polyline>
<polyline fill="none" stroke="#F0F" stroke-width="40" stroke-miterlimit="10" opacity="1" points="728.9,261.3 480,510.2 237.3,261.3">
<animate id="anim2" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="anim1.end" additive="replace" calcMode="linear" from="0" to="1" dur="0.1s"></animate>
<animate id="anim22" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="anim3.end" additive="replace" calcMode="linear" from="1" to="0" dur="0.3s"></animate>
</polyline>
<polyline fill="none" stroke="#FF0" stroke-width="40" stroke-miterlimit="10" opacity="1" points="721.9,487 473,735.9 230.3,487">
<animate id="anim3" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="anim2.end" additive="replace" calcMode="linear" from="0" to="1" dur="0.1s"></animate>
<animate id="anim32" attributeName="opacity" attributeType="XML" fill="freeze" accumulate="none" begin="anim3.end" additive="replace" calcMode="linear" from="1" to="0" dur="0.3s"></animate>
</polyline>
</g>
</svg>