--- title: "プレイヤー UX" slug: "vpe-umd-player-ux" updated: 2026-09-17T09:22:05Z published: 2026-09-17T09:22:05Z canonical: "guide.ncloud-docs.com/vpe-umd-player-ux" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://guide.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # プレイヤー UX Classic/VPC環境で利用できます。 スクリプトコードを変更して UXに関連するオプションを設定する方法について説明します。 参考 - オプションを設定するプロパティに関する説明は、プレイヤー設定をご参照ください。 - ご利用中の料金プランによって、設定可能なオプションが異なる場合があります。 ## startMutedInfoNotVisible(ミュート状態を表示) ミュート状態を表示できます。 ``` // 動画(MP4) const player = new ncplayer("video1", { autostart: true, muted: true, startMutedInfoNotVisible: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## seekingPreview(シークバーにサムネイルを表示) セクションを移動する際にサムネイル画像が表示されます。 参考 - Standard料金プランでのみご利用いただけます。 - VODでのみサポートします。 ``` // 動画(VOD) const player = new ncplayer("video1", { seekingPreview: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## autoPause(ブラウザ無効化時に自動停止) タブが無効になると、自動的に再生が停止します。 参考 - Standard料金プランでのみご利用いただけます。 - モバイルでは動作しません。 - Webapp/Webview環境では動作しません。 ``` // 動画(VOD) const player = new ncplayer("video1", { autoPause: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## keyboardShortcut(キーボードショートカットキー) キーボードショートカットキーの使用有無を設定します。 参考 Standard料金プランでのみご利用いただけます。 **デフォルトショートカットキー** | キー | 機能 | | --- | --- | | Space | 再生 / 一時停止 | | ← → | 5秒前 / 後に移動 | | ↑ ↓ | ボリュームを5%調整 | | M | ミュート | | F | フルスクリーン | ``` // 動画(MP4) const player = new ncplayer("video1", { keyboardShortcut: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## touchGestures(タッチジェスチャー) タッチジェスチャーの使用有無を設定します。 参考 Standard料金プランでのみご利用いただけます。 ``` // 動画(MP4) const player = new ncplayer("video1", { touchGestures: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## visibleWatermark/watermarkText(テキストウォーターマーク) ウォーターマークを有効にしたり、表示するテキストを設定します。 参考 - Standard料金プランでのみご利用いただけます。 - このオプションは、コンソール設定を通じてのみ適用されます。 - コード内で値を変更することはできません(スクリプトコードでのみ確認可能)。 ``` // 動画(MP4) const player = new ncplayer("video1", { visibleWatermark: true, watermarkText: "Sample watermark", playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## watermarkConfig(テキストウォーターマークの詳細設定) ウォーターマークの移動、位置、透明度などを設定します。 ``` // 動画(MP4) - ランダム移動 const player = new ncplayer("video1", { watermarkConfig: { randPosition: true, // ウォーターマークのランダム移動有無 randPositionInterVal: 5000, // ランダム移動間隔(ms) opacity: 0.4, // ウォーターマークの透明度 }, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ``` // 動画(MP4) - 固定位置 const player = new ncplayer("video1", { watermarkConfig: { randPosition: false, // ウォーターマークのランダム移動有無 x: 10, // 左上の x座標(%単位) y: 10, // 左上の y座標(%単位) opacity: 0.4, // ウォーターマークの透明度 }, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## iosFullscreenNativeMode(iOSウェブ全画面表示方式) iOS Safariのネイティブ全画面表示方式を使用します。 参考 - Basic/Standard料金プランでのみご利用いただけます。 - iOS Safariでのみ動作します。 - Playerバージョン 1.1.5以降でサポートします。 - デフォルト値は `true`です。 ``` // 動画(MP4) const player = new ncplayer("video1", { iosFullscreenNativeMode: true, playlist: [ { file: "https://CDNドメイン/example_video_01.mp4", }, ], }); ``` ## 全 UMDのユースケース ```