"use strict"; const common_vendor = require("../../../common/vendor.js"); require("../../adapter-vue.js"); const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ __name: "video-play", setup(__props) { const videoData = common_vendor.ref(); const isShow = common_vendor.ref(false); const videoContext = common_vendor.ref(); common_vendor.onLoad((option) => { const decodedUrl = decodeURIComponent(option == null ? void 0 : option.videoUrl); videoData.value = decodedUrl; isShow.value = true; }); common_vendor.onReady(() => { isShow.value = true; videoContext.value = common_vendor.i.createVideoContext("videoEle"); }); return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.unref(isShow) }, common_vendor.unref(isShow) ? { b: common_vendor.unref(videoData) } : {}); }; } }); const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-e40b9248"]]); wx.createPage(MiniProgramPage);