From 0a612cd9603dc72b01252a537f72ed74b0baf40e Mon Sep 17 00:00:00 2001 From: amowu Date: Thu, 11 Jan 2024 03:13:35 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20hahow/jw?= =?UTF-8?q?player-plugins@5cf2ad5fd32ca2b3ebd2d6e6f79f7345cc510761=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iframe.html | 2 +- main.612d2790.iframe.bundle.js.map | 1 - ...d2790.iframe.bundle.js => main.dfe60d44.iframe.bundle.js | 6 +++--- ...ICENSE.txt => main.dfe60d44.iframe.bundle.js.LICENSE.txt | 0 main.dfe60d44.iframe.bundle.js.map | 1 + project.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 main.612d2790.iframe.bundle.js.map rename main.612d2790.iframe.bundle.js => main.dfe60d44.iframe.bundle.js (70%) rename main.612d2790.iframe.bundle.js.LICENSE.txt => main.dfe60d44.iframe.bundle.js.LICENSE.txt (100%) create mode 100644 main.dfe60d44.iframe.bundle.js.map diff --git a/iframe.html b/iframe.html index 3c6d44f..1da4fef 100644 --- a/iframe.html +++ b/iframe.html @@ -361,4 +361,4 @@ - window['STORIES'] = [{"titlePrefix":"","directory":"./stories","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./stories","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}]; \ No newline at end of file + window['STORIES'] = [{"titlePrefix":"","directory":"./stories","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./stories","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:stories(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}]; \ No newline at end of file diff --git a/main.612d2790.iframe.bundle.js.map b/main.612d2790.iframe.bundle.js.map deleted file mode 100644 index ebd83e6..0000000 --- a/main.612d2790.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"main.612d2790.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/main.612d2790.iframe.bundle.js b/main.dfe60d44.iframe.bundle.js similarity index 70% rename from main.612d2790.iframe.bundle.js rename to main.dfe60d44.iframe.bundle.js index 76e4dec..15120de 100644 --- a/main.612d2790.iframe.bundle.js +++ b/main.dfe60d44.iframe.bundle.js @@ -1,3 +1,3 @@ -/*! For license information please see main.612d2790.iframe.bundle.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"./.storybook/preview.js-generated-config-entry.js":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"parameters",(function(){return parameters})),__webpack_require__.d(preview_namespaceObject,"decorators",(function(){return decorators}));__webpack_require__("../../node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("../../node_modules/core-js/modules/es.symbol.js"),__webpack_require__("../../node_modules/core-js/modules/es.array.filter.js"),__webpack_require__("../../node_modules/core-js/modules/es.object.get-own-property-descriptor.js"),__webpack_require__("../../node_modules/core-js/modules/es.array.for-each.js"),__webpack_require__("../../node_modules/core-js/modules/web.dom-collections.for-each.js"),__webpack_require__("../../node_modules/core-js/modules/es.object.get-own-property-descriptors.js"),__webpack_require__("../../node_modules/core-js/modules/es.object.define-properties.js"),__webpack_require__("../../node_modules/core-js/modules/es.object.define-property.js");var ClientApi=__webpack_require__("../../node_modules/@storybook/client-api/dist/esm/ClientApi.js"),jsx_runtime=__webpack_require__("../../node_modules/react/jsx-runtime.js"),GitHubCorner_GitHubCorner=function GitHubCorner(_ref){var url=_ref.url;return Object(jsx_runtime.jsx)(jsx_runtime.Fragment,{children:Object(jsx_runtime.jsx)("a",{href:url,"aria-label":"View source on GitHub",children:Object(jsx_runtime.jsxs)("svg",{width:"80",height:"80",viewBox:"0 0 250 250",style:{fill:"#151513",color:"#fff",position:"absolute",top:0,border:0,right:0},"aria-hidden":"true",children:[Object(jsx_runtime.jsx)("path",{d:"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"}),Object(jsx_runtime.jsx)("path",{d:"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",fill:"currentColor",style:{transformOrigin:"130px 106px"}}),Object(jsx_runtime.jsx)("path",{d:"M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",fill:"currentColor"})]})})})},components_GitHubCorner=GitHubCorner_GitHubCorner;try{GitHubCorner_GitHubCorner.displayName="GitHubCorner",GitHubCorner_GitHubCorner.__docgenInfo={description:"https://tholman.com/github-corners/",displayName:"GitHubCorner",props:{url:{defaultValue:null,description:"",name:"url",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["components/GitHubCorner.tsx#GitHubCorner"]={docgenInfo:GitHubCorner_GitHubCorner.__docgenInfo,name:"GitHubCorner",path:"components/GitHubCorner.tsx#GitHubCorner"})}catch(__react_docgen_typescript_loader_error){}var parameters={actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}}},decorators=[function(Story){return Object(jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[Object(jsx_runtime.jsx)(Story,{}),Object(jsx_runtime.jsx)(components_GitHubCorner,{url:"https://github.com/hahow/jwplayer-plugins"})]})}];function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":return Object(ClientApi.d)(value);case"argTypes":return Object(ClientApi.b)(value);case"decorators":return value.forEach((function(decorator){return Object(ClientApi.f)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(ClientApi.g)(loader,!1)}));case"parameters":return Object(ClientApi.h)(function _objectSpread(target){for(var i=1;i',"劇院模式",(function w(){!function m(t,e){return t.classList.contains(e)}(a,"jw-fullscreen-web")?function g(t,e){return t.classList.add(e)}(a,"jw-fullscreen-web"):function u(t,e){return t.classList.remove(e)}(a,"jw-fullscreen-web")}),"jw-plugin-full-viewport")})),_this}return _createClass(r)}(_createClass((function n(e,i,s){_classCallCheck(this,n),this.playerInstance=e,this.pluginConfig=i,this.pluginDiv=s})));r.pluginName="fullViewport",r.playerMinimumVersion="8.0.0";var createPluginStory=__webpack_require__("./utils/createPluginStory.tsx"),esm=(__webpack_require__("../../node_modules/core-js/modules/es.object.keys.js"),__webpack_require__("../../node_modules/core-js/modules/es.array.index-of.js"),__webpack_require__("../../node_modules/core-js/modules/es.symbol.js"),__webpack_require__("../../node_modules/react/index.js"),__webpack_require__("../../node_modules/@mdx-js/react/dist/esm.js")),dist_esm=__webpack_require__("../../node_modules/@storybook/addon-docs/dist/esm/index.js"),_excluded=["components"];function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return Object(esm.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(esm.b)("h1",{id:"jwplayer-plugin-full-viewport"},"jwplayer-plugin-full-viewport"),Object(esm.b)("p",null,Object(esm.b)("a",{parentName:"p",href:"https://badge.fury.io/js/@hahow%2Fjwplayer-plugin-full-viewport",target:"_blank",rel:"nofollow noopener noreferrer"},Object(esm.b)("img",{parentName:"a",src:"https://badge.fury.io/js/@hahow%2Fjwplayer-plugin-full-viewport.svg",alt:"npm version"}))),Object(esm.b)("p",null,"劇院模式,又稱作「視窗全螢幕」。可以將播放器放大至整個瀏覽器(viewport),相較於全螢幕(full-screen)模式,操作上更為方便。"),Object(esm.b)("h2",{id:"table-of-contents"},"Table of Contents"),Object(esm.b)("ul",null,Object(esm.b)("li",{parentName:"ul"},Object(esm.b)("a",{parentName:"li",href:"#demo"},"Demo")),Object(esm.b)("li",{parentName:"ul"},Object(esm.b)("a",{parentName:"li",href:"#external-plugin"},"External Plugin")),Object(esm.b)("li",{parentName:"ul"},Object(esm.b)("a",{parentName:"li",href:"#internal-plugin-not-recommended"},"Internal Plugin"))),Object(esm.b)("h2",{id:"demo"},"Demo"),Object(esm.b)(dist_esm.a,{id:"full-viewport--full-viewport",mdxType:"Story"}),Object(esm.b)("h2",{id:"external-plugin"},"External Plugin"),Object(esm.b)("p",null,"IIFE 格式,JW Player 預設使用 plugin 的方式:"),Object(esm.b)("h3",{id:"vanilla-js"},"Vanilla JS"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre",className:"language-html"},'\n \n