WARNING: Unknown action: hotspot[video].playvideo

  • hello ,I'm looking forward to your help


    I directly wrote "videoplayer" in xml and it can be executed using "playvideo", but the videoplayer I created through js used the same method and reported an error

    Code
    <hotspot name="video" url="%SWFPATH%/swf/videoplayer.js"
    videourl=""
    distorted="true" edge="center" width="300" height="300"
    ath="20" atv="10" scale="1" rx="0" ry="0" rz="0" zorder="101"
    loop="false" pausedonstart="false"
    />
    
    krpano.call(`hotspot[video].playvideo(${filename})`) 
  • true !== 'true'

    false !== 'false'

    Haha,*thumbsup*
    It's true that the types are not completely equal, but it doesn't solve the problem. I tried and found that videourl must be set before calling playvideo. What's puzzling is, in this case, what's the meaning of the parameters of playvideo

Participate now!

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