FAQ

HTML with 4K Photo isn't shown in the playlist

Summary

When HTML content including 4K Photo playback by <object> tag is continuous in the playlist, the latter HTML content’s 4K Photo isn’t shown.

Environment/Preconditions

HTML content including 4K Photo playback by <object> tag is continuous in the playlist.

Symptoms

open() of 4K photo fails.

Workaround

  • Avoid continuous placement of HTML content that has 4K Photo playback by <object> tag in the playlist.

Or

  • Add an error handling like the following:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>

    <script type="text/javascript">
    function showPhoto() {
      /** If you want to display another Photo, Please correct the following URL.*/
      /** If you want to specify a local file, it is "file://localhost/media/[filePath]" */
      var url = "";

      var photo = document.getElementById("photo");
      if (photo.open() === 0) {
        photo.show(url);
      } else {
        setTimeout(showPhoto);
      }
    }
    </script>
  </head>

  <body onLoad="showPhoto()">
    <object type="application/x-4k-photo" id="photo" width="3840" height="2160">
      Not Support your browser.
    </object>
  </body>
</html>