"Inline Video Players" and "littleplanetintro" are not working.

  • I embedded a YouTube video by referring to Inline Video Players.
    I changed the setting of littleplanetintro to "true".

    It worked correctly.
    krpano - 2102223_AMU_PANO_007

    Next, I modified the hotspot settings to load via include.
    When I played it, during the expansion from the little planet view, it ends up facing towards the bottom.
    krpano - 2102223_AMU_PANO_007

    It seems that this symptom occurs when loading the hotspot via include instead of directly describing it within the <scene> tag.

    in the tour I am currently creating, there are a large number of hotspots. Therefore, I would like to avoid directly configuring the hotspots in the tour.xml file and instead load them via an include file, if possible.

    Is there any solution for this?

    Please help me.

  • I can't do it well.

    I don't think it's the right way to do it, but I'll write my idea.

    krpano-test

    1.Add action to scene on-start.

    <scene name="xxx" title="xxx" onstart="include_x();" ・・・・

    2.Load include-xml dynamically
    <action name="include_x" scope="local" >
    includexml(youtubespot.xml, loaddone);
    </action>

    Immediately, it looks like this.
    I hope it helps.

    Sorry for my bad English.

  • s-maier -san.
    Thank you.

    It seems that you can overwrite with the same name.

    In the case of non-professional code, if there is a mistake somewhere, you may be able to get it to work by changing the loading order.

    This is the method I often use for tests when I don't have time...
    Sorry for my bad English

    Thanks for the advice!
    I changed the xml as advised.

    It turned out to be the movement I was hoping for.

    However, unfortunately youtube won't play.

    I might be wrong,
    I think I did my best to research as well.

    日本語で tomozoh932 返事が遅くなり申し訳ありません。

    あなたのアドバイスで希望通りの動きになりました。ありがとうございます。
    ただyoutubeが再生されません。このあたりは私のミスなのか ACTIONの記述を変更する必要があるかもしれませが、調べてみたいと思います。

    アドバイスありがとうございます!

  • Hi,

    in this example, this is missing:

    Code
    <include url="youtube-player.xml"/> 

    That's the file where the 'youtubeplayer_open' action is defined.

    About the hotspots - if you define them in the <scene> or include them using <include> or using includexml() wouldn't matter. The result would be the same, expect for the additional file load.

    Best regards,
    Klaus

  • I thought the code for the YouTube action was already written.
    sorry.

  • Hi,

    in this example, this is missing:

    Code
    <include url="youtube-player.xml"/> 

    That's the file where the 'youtubeplayer_open' action is defined.

    About the hotspots - if you define them in the <scene> or include them using <include> or using includexml() wouldn't matter. The result would be the same, expect for the additional file load.

    Best regards,
    Klaus

    hi. klaus.krpano -san.

    When skin_settings.littleplanetintro="true" is used, if xml is called as an include in the scene, it does not work...

    not include tour:
    krpano - x1

    in include tour:
    krpano - x1  

    Am I using this incorrectly?

    I would be happy if you could let me know.
    Thank you.

  • klaus.krpano November 5, 2024 at 5:00 PM

    Added the Label Checking
    • New
    • Official Post

    if xml is called as an include in the scene, it does not work...

    Hi, this is unfortunately a bug - this include caused as slight delay in the scene loading and in follow a false onxmlcomplete event and this then interfered with the little-planet-intro code.

    This has just been fixed and there will be soon a new release (version 1.22.1).

    Best regards,
    Klaus

  • klaus.krpano November 7, 2024 at 11:41 AM

    Set the Label from Checking to Bug
  • klaus.krpano November 7, 2024 at 11:41 AM

    Added the Label Fixed

Participate now!

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