Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author PlayerJS

    (@playerjs)

    Hello,
    Don’t use a line break in the shortcode. Please specify the link to the player page where we can find it to be more precise.

    Thread Starter yuw28

    (@yuw28)

    There was no line break in the shortcode. It’s all in one line on my theme’s edit page. I made a test page for you to look at the error: https://filmxonline.tk/filmes/test-page/

    Note: just click “CLICK HERE FOR WATCH – TEST”

    • This reply was modified 5 years, 8 months ago by yuw28.
    Plugin Author PlayerJS

    (@playerjs)

    It looks like you are not using the plugin and are trying to load the player via Ajax. It is difficult to name the cause of the issue, since you are using your own code. Try writing a bug report in the PlayerJS builder and fully describe all the code that you run.

    Thread Starter yuw28

    (@yuw28)

    I will try to explain everything in detail.

    1. I installed and activated the plugin on my wordpress site and it seems to be correct: https://prnt.sc/tu1a8y

    The option to create the shortcode and add the video works normally: https://prnt.sc/tu1d8l

    2. The theme I use gives the option to add the plugin shortcode here: https://prnt.sc/tu1h2q

    Using the plugin button to create the shortcode, and inserting the shortcode created in the “video player” option of my theme, it works normally. Example of shortcode that works: [playerjs file = “URL_VIDEO” poster = “URL_POSTER” subtitle = “URL_SUBTITLE”]

    3. The problem happens when I try to use “[480] [720]” in the shortcode. It does not recognize the Google Drive API URL. I tried with the YouTube URL and it also didn’t work. However I noticed that in the place where the synopsis goes (https://prnt.sc/tu1ten) the player appears and has the option to select the quality of the video, however the error “not found”: https://prnt.sc/tu1vdb

    I tested it using the youtube URL where the synopsis is to be and it worked! (https://prnt.sc/tu23du)

    but it is not the result I desire. I need the plugin to work correctly with the Google Drive API URL and in the “Video Player” field of my theme. what should I do? I thank you for your patience in reading all this. If you can help me solve this I would appreciate it.

    Note¹: I checked my theme options, and AJAX mode was enabled. I turned it off and it still didn’t work as it should. (https://prnt.sc/tu2895)

    Note²: I activated the “quality” and “playlist” functions in my player that I uploaded in the plugin folder, replacing “playerjs_default.js” with the player file built on the site.

    • This reply was modified 5 years, 8 months ago by yuw28.
    Plugin Author PlayerJS

    (@playerjs)

    Thank you for explain. It seems like your “Video Player” field doesn’t recognize the internal square brackets in the shortcode (we use WP filter the_content for this action). We can additionally add another bracket to separate the qualities, if this helps. But the Google Drive is a file sharing service (not a video hosting for web streams), so that’s why this files may not work in the web players. Look to the browser console please https://playerjs.com/docs/en=videoerrors

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Difficulties in adding qualities with the PlayerJS plugin’ is closed to new replies.