This update focuses on optimizations and bug fixes.

  • Fixed fullscreen function for iOS
  • Fixed fullsreen button to properly swap icons when exiting fullscreen with the ESC key
  • Fixed big play button if fullscreen button is disabled
  • Updated Video parameter to add option to add multiple sources(*1) with an array
  • Updated debug log to consider parameters that were updated and added
  • Added new parameter, Preload, allowing the developer to set the preload for the video tag
  • Added new parameter, Metadata(*2), to correct information in media notifications on devices
  • Added loading screen on load, disappears once video is ready to play
  • Added tooltip for Play/Pause button
  • Removed video tag for simulated storyboard
  • Removed Picture-in-Picture button for iOS

(*1) - How to add to use the new array option for the Video parameter:

<Nekoma
    Video={[
        {
            Source: "./intro.mp4",
            Type: "video/mp4"
        },
        {
            Source: "./intro.mov",
            Type: "video/quicktime"
        },
        {
            Source: "./intro.webm",
            Type: "video/webm"
        }
    ]}
/>

(*2) - New Metadata parameter:

<Nekoma
    Video="./pets-vlog.webm"
    Metadata={[{
        Title: "Pets Blog #2",
        Artist: "The Pets Channel",
        Album: "Pets Blog",
        Artwork: [
            {
                Source: "https://example.org/vlog/pets-blog/22-96x96.png",
                Sizes: "96x96"
            },
            {
                Source: "https://example.org/vlog/pets-blog/22-256x256.png",
                Sizes: "256x256"
            },
            {
                Source: "https://example.org/vlog/pets-blog/22-512x512.png",
                Sizes: "512x512"
            }
        ]
    }]}
/>