softbuilders-react-video-player
Advanced tools
Comparing version 1.0.1 to 1.0.2
import React from "react"; | ||
import { PauseIcon, PlayIcon } from "../../icons"; | ||
import { PauseIcon, PlayIcon } from "../../images"; | ||
const BigPlayButton = ({ player, isPaused, setIsPaused }) => { | ||
@@ -4,0 +4,0 @@ const togglePlay = () => { |
@@ -7,3 +7,2 @@ import React, { useEffect } from "react"; | ||
import CreateNoteMenu from "../CreateNoteMenu"; | ||
import { BackwardIcon, PlayIcon, PauseIcon, ForwardIcon, FullScreenIcon, } from "../../icons"; | ||
import TimeSliderContainer from "../TimeSliderContainer"; | ||
@@ -14,2 +13,3 @@ import BufferTracker from "../BufferTracker"; | ||
import SubtitleMenu from "../SubtitleMenu"; | ||
import { BackwardIcon, ForwardIcon, FullScreenIcon, PauseIcon, PlayIcon } from "../../images"; | ||
const ControlBar = ({ player, isPaused, setIsPaused, duration, notes, chapters, seekStep = 5, handleSaveNoteAction, }) => { | ||
@@ -16,0 +16,0 @@ const { setPlayer, setDuration } = useSoftBuildersVideoPlayerContext(); |
import React, { useState } from "react"; | ||
import MenuButton from "../MenuButton"; | ||
import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider"; | ||
import { ClosedNoteIcon } from "../../icons"; | ||
import { ClosedNoteIcon } from "../../images"; | ||
const CreateNoteMenu = ({ handleSaveNoteAction }) => { | ||
@@ -6,0 +6,0 @@ const { player } = useSoftBuildersVideoPlayerContext(); |
import React, { useEffect, useState } from "react"; | ||
import MenuButton from "../MenuButton"; | ||
import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider"; | ||
import { CheckedIcon, SettingsIcon, LeftArrowIcon, } from "../../icons"; | ||
import { CheckedIcon, LeftArrowIcon, SettingsIcon } from "../../images"; | ||
const QualityOption = ({ isSelected, quality, onClick, }) => { | ||
@@ -6,0 +6,0 @@ return (React.createElement("button", { className: "hover:sb-text-orange-500 sb-p-2", onClick: onClick }, |
import React, { useEffect, useState } from "react"; | ||
import MenuButton from "../MenuButton"; | ||
import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider"; | ||
import { CheckedIcon, LeftArrowIcon, SubtitlesIcon, } from "../../icons"; | ||
import { CheckedIcon, LeftArrowIcon, SubtitlesIcon } from "../../images"; | ||
const SubtitleOption = ({ isSelected, subtitle, onClick, }) => { | ||
@@ -6,0 +6,0 @@ return (React.createElement("button", { className: "hover:sb-text-orange-500 sb-p-2", onClick: onClick }, |
import React, { useEffect, useState } from "react"; | ||
import Slider from "../Slider"; | ||
import { useSoftBuildersVideoPlayerContext } from "../VideoPlayerComponent/provider"; | ||
import { MuteIcon, UnmuteIcon } from "../../icons"; | ||
import { MuteIcon, UnmuteIcon } from "../../images"; | ||
const MIN = 0, MAX = 100; | ||
@@ -6,0 +6,0 @@ const VolumeSlider = ({}) => { |
{ | ||
"name": "softbuilders-react-video-player", | ||
"description": "Standalone video player component", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
112166
22