[PlayerPanel] onHoldPulse delete

This commit is contained in:
고동영
2024-07-25 16:20:49 +09:00
parent 82840913d3
commit f1382394af

View File

@@ -7,18 +7,15 @@
* @exports VideoPlayerBase
*/
import React from 'react';
import ReactDOM from 'react-dom';
import React from "react";
import ReactDOM from "react-dom";
import classNames from 'classnames';
import DurationFmt from 'ilib/lib/DurationFmt';
import PropTypes from 'prop-types';
import shallowEqual from 'recompose/shallowEqual';
import classNames from "classnames";
import DurationFmt from "ilib/lib/DurationFmt";
import PropTypes from "prop-types";
import shallowEqual from "recompose/shallowEqual";
import {
off,
on,
} from '@enact/core/dispatcher';
import { off, on } from "@enact/core/dispatcher";
import {
adaptEvent,
call,
@@ -29,63 +26,48 @@ import {
preventDefault,
returnsTrue,
stopImmediate,
} from '@enact/core/handle';
import ApiDecorator from '@enact/core/internal/ApiDecorator';
import EnactPropTypes from '@enact/core/internal/prop-types';
import { is } from '@enact/core/keymap';
import { platform } from '@enact/core/platform';
import {
Job,
memoize,
perfNow,
} from '@enact/core/util';
import { I18nContextDecorator } from '@enact/i18n/I18nDecorator';
import { toUpperCase } from '@enact/i18n/util';
import Skinnable from '@enact/sandstone/Skinnable';
import {
getDirection,
Spotlight,
} from '@enact/spotlight';
import {
SpotlightContainerDecorator,
} from '@enact/spotlight/SpotlightContainerDecorator';
import { Spottable } from '@enact/spotlight/Spottable';
import Announce from '@enact/ui/AnnounceDecorator/Announce';
import ComponentOverride from '@enact/ui/ComponentOverride';
import { FloatingLayerDecorator } from '@enact/ui/FloatingLayer';
import {
FloatingLayerContext,
} from '@enact/ui/FloatingLayer/FloatingLayerDecorator';
import Marquee from '@enact/ui/Marquee';
import Slottable from '@enact/ui/Slottable';
import Touchable from '@enact/ui/Touchable';
} from "@enact/core/handle";
import ApiDecorator from "@enact/core/internal/ApiDecorator";
import EnactPropTypes from "@enact/core/internal/prop-types";
import { is } from "@enact/core/keymap";
import { platform } from "@enact/core/platform";
import { Job, memoize, perfNow } from "@enact/core/util";
import { I18nContextDecorator } from "@enact/i18n/I18nDecorator";
import { toUpperCase } from "@enact/i18n/util";
import Skinnable from "@enact/sandstone/Skinnable";
import { getDirection, Spotlight } from "@enact/spotlight";
import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator";
import { Spottable } from "@enact/spotlight/Spottable";
import Announce from "@enact/ui/AnnounceDecorator/Announce";
import ComponentOverride from "@enact/ui/ComponentOverride";
import { FloatingLayerDecorator } from "@enact/ui/FloatingLayer";
import { FloatingLayerContext } from "@enact/ui/FloatingLayer/FloatingLayerDecorator";
import Marquee from "@enact/ui/Marquee";
import Slottable from "@enact/ui/Slottable";
import Touchable from "@enact/ui/Touchable";
import { panel_names } from '../../utils/Config';
import { $L } from '../../utils/helperMethods';
import { SpotlightIds } from '../../utils/SpotlightIds';
import ThemeIndicator
from '../../views/DetailPanel/components/indicator/ThemeIndicator';
import ThemeIndicatorArrow
from '../../views/DetailPanel/components/indicator/ThemeIndicatorArrow';
import PlayerOverlayContents
from '../../views/PlayerPanel/PlayerOverlay/PlayerOverlayContents';
import Loader from '../Loader/Loader';
import { panel_names } from "../../utils/Config";
import { $L } from "../../utils/helperMethods";
import { SpotlightIds } from "../../utils/SpotlightIds";
import ThemeIndicator from "../../views/DetailPanel/components/indicator/ThemeIndicator";
import ThemeIndicatorArrow from "../../views/DetailPanel/components/indicator/ThemeIndicatorArrow";
import PlayerOverlayContents from "../../views/PlayerPanel/PlayerOverlay/PlayerOverlayContents";
import Loader from "../Loader/Loader";
import {
MediaControls,
MediaSlider,
secondsToTime,
Times,
} from '../MediaPlayer';
import VideoOverlayWithPhoneNumber
from '../VideoOverlayWithPhoneNumber/VideoOverlayWithPhoneNumber';
import FeedbackContent from './FeedbackContent';
import FeedbackTooltip from './FeedbackTooltip';
import Media from './Media';
import MediaTitle from './MediaTitle';
import Overlay from './Overlay';
import TReactPlayer from './TReactPlayer';
import Video from './Video';
import css from './VideoPlayer.module.less';
} from "../MediaPlayer";
import VideoOverlayWithPhoneNumber from "../VideoOverlayWithPhoneNumber/VideoOverlayWithPhoneNumber";
import FeedbackContent from "./FeedbackContent";
import FeedbackTooltip from "./FeedbackTooltip";
import Media from "./Media";
import MediaTitle from "./MediaTitle";
import Overlay from "./Overlay";
import TReactPlayer from "./TReactPlayer";
import Video from "./Video";
import css from "./VideoPlayer.module.less";
const isEnter = is("enter");
const isLeft = is("left");
@@ -2505,7 +2487,7 @@ const VideoPlayerBase = class extends React.Component {
className={css.controlsHandleAbove}
holdConfig={controlsHandleAboveHoldConfig}
onDown={this.handleControlsHandleAboveDown}
onHoldPulse={this.handleControlsHandleAboveHoldPulse}
// onHoldPulse={this.handleControlsHandleAboveHoldPulse}
// onKeyDown={this.handleControlsHandleAboveKeyDown}
onKeyUp={this.handleControlsHandleAboveKeyUp}
onSpotlightDown={this.showControls}