Skip to content

This plugin dead DO NOT USE for v6+ videojs #133

Description

@BonBonSlick
TypeError: videojs.getComponent is not a function
    at eval (videojs-resolution-switcher.js:41)
    at eval (videojs-resolution-switcher.js:357)
    at eval (videojs-resolution-switcher.js:358)
    at Object../node_modules/videojs-resolution-switcher/lib/videojs-resolution-switcher.js (2.js:588)
    at __webpack_require__ (main.js:770)
    at fn (main.js:130)
    at eval (video.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options:6)
    at Module../node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./src/components/public/partials/video.vue?vue&type=script&lang=js& (5.js:23)
    at __webpack_require__ (main.js:770)
    at fn (main.js:130)

    "video.js": "^7.6.0",
    "videojs-resolution-switcher": "^0.4.2",

    import videojs from 'video.js';
    import videoJsResolutionSwitcher from 'videojs-resolution-switcher';
...
        },
        mounted() {
            const $this = this;
            console.log(videoJsResolutionSwitcher);
videojs(
                    $this.$refs.videoPlayer, {
                        autoplay: true,
                        controls: true,
                        fluid: true,
                        poster: posterUrl,
                    },
                    function onPlayerReady() {
                        console.log('onPlayerReady', $this.currentEpisodeDetails);
                    });

Plugin is dead DO NOT USE it, it MUST BE mentioned in README!
But you can see it by the last commit date.

#102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions