Sound doesn't work in my videos, even if I think I did everything allright... Please help. ;((((

  • Hello!


    I am testing some functionalities in krpano, everything in going fine, only that I don't have the sound! If I play the file alone in win explorer, it works fine. I had checked the paths, I put the plugins inside my xml etc but still nothing... ;((((

        <include url="%SWFPATH%/skin/videoplayer.xml" />

    .....

        <!-- soundinterface plugin -->

        <plugin name="soundinterface"

                url="%SWFPATH%/plugins/soundinterface.swf"

                alturl="%SWFPATH%/plugins/soundinterface.js"

                rootpath="%SWFPATH%/skin"

                preload="true"

                keep="true"

                volume="1.0"

                mute="false"

        />

    .....

        <events name="video_events" devices="mobile.or.tablet.or.HTML5" keep="true"

                onmousedown="video_auto_start();"

                onremovepano="if(xml.scene != video_scene, plugin[video].seek(0); plugin[video].pause(); );" />

        <action name="video_auto_start">

    if(video_auto_start !== true,

    if(plugin[video].ispaused,

    plugin[video].play();

    delayedcall(0.1, plugin[video].pause() );

    );

    if(hotspot[spotvideolien].ispaused,

    hotspot[spotvideolien].play();

    delayedcall(0.1, hotspot[spotvideolien].pause() );

    );

    set(events[video_events].onmousedown, null);

    set(video_auto_start, true);

    );

        </action>

    .....


        <hotspot name="videospot"

                 url="media_playback_start.png"

                 scale="0.5"

                 zoom="true"

                 ath="-26.5" atv="0"

                 onclick="looktohotspot(get(name),90); videoplayer_open('%SWFPATH%/skin/cats.mp4|%SWFPATH%/skin/cats.webm', '%SWFPATH%/skin/cats-poster.jpg', 0.5);"

                 />

    <!-- hotspots video -->

            <hotspot name="spotvideolien" url="%SWFPATH%/skin/media_playback_start.png"

            scale="0.5"

            zoom="true"

            loop="false"

            ath="-1" atv="-2"

            video_auto_start="true"

            range="90.0"

            volume="1.0"

            mute="false"

            onclick="looktohotspot(get(name),get(view.fov)); videoplayer_open('%SWFPATH%/skin/feu.mp4|%SWFPATH%/skin/feu.webm', %SWFPATH%/skin/feu.jpg); video_auto_start();" pausedonstart="true" />


    Thanks!*thumbsup*

  • Hi,

    there is no Flash support anymore.

    Or just try examples from the current version download package.

    Best regards,
    Klaus

    Hello,


    Thanks for your quick answer! I just tried this, but I have the same result... :( We are threee guys working on this project, with 3 similar laptops and we have the same issue.... I heard the Flash is not supported anymore. So I changed the code like you told me, but still no sound in my videos :((((( Maybe it is an issue with the Windows OS or the PCs.

    Anyway, other lil questions: you think that %VIEWER% is better than %ROOT% for example?

    Second question: I have other references to swf files in other plugins, do you think I should delete them too ?


    Sehr Danke :D :D :D

    Edited once, last by PaulOnaprk (December 12, 2023 at 12:08 PM).

  • Anyway, other lil questions: you think that %VIEWER% is better than %ROOT% for example?

    All the same:
    https://krpano.com/docu/xml/#url

    What krpano version are you using?
    Your code looks like from an older one and maybe that's the problem...

    I would recommend using the latest version and to start with the examples from there.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!