• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Can’t create new video after last update

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Can’t create new video after last update

  • Gomez 2 years, 10 months ago

    Hi, your video shortcode is not working correctly after last plugin update. I can create new video shortcode but no player is showing inside the page. Moreover if I try to edit the video shortcode, the FV player modal is not loading correctly and I get this error in developer tools:

    shortcode-editor.js?ver=1657132488:3665 Uncaught TypeError: Cannot read properties of undefined (reading 'match')
        at HTMLDocument.show_stream_fields (shortcode-editor.js?ver=1657132488:3665:89)
        at HTMLDocument.dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:43064)
        at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:41048)
        at Object.trigger (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:71515)
        at HTMLDocument.<anonymous> (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:72110)
        at Function.each (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:3003)
        at s.fn.init.each (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:1481)
        at s.fn.init.trigger (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,moxiejs,plupload&ver=652bebbaa938712d0b300c3e774b7d7a:2:72086)
        at playlist_item_show (shortcode-editor.js?ver=1657132488:3221:12)
        at Object.success (shortcode-editor.js?ver=1657132488:2368:17)
Viewing 12 replies - 1 through 12 (of 12 total)
  • Martin 3 years ago

    Hello Gomez,

    1. I found that the editing did not work with Gutenberg after a recent fix to Mailchimp preview mode.

    Please upgrade to FV Player 7.5.26.7210 which was released now and your issue should be fixed.

    If that won’t fix the issue for you – do you mean that when you add a new player, you can see the [fvplayer id="..."] shortcode in your post and it appears in wp-admin -> FV Player, but nothing shows on the page? Then please provide a link to a test page which is affected by this.

    1. About the player editing issue – please open your browser developer console, here’s how: https://foliovision.com/player/troubleshooting/javascript-browser-console

    Then open your page with FV Player on it and try to edit it. You should see messages appearing on the console, similar to this;

    FV Player Editor: Loading...
    FV Player Editor: Attaching click actions...
    FV Player Editor: Loading for TinyMCE in Text Mode...
    FV Player Editor: Loading shortcode: fvplayer id="547"
    FV Player Editor: Loading shortcode player id: 547
    FV Player Editor: Running fv_player_db_load Ajax.
    FV Player Editor: Finished fv_player_db_load Ajax.
    {id: '547', author: '50', changed_by: '50', date_created: '2022-05-25 14:16:16', date_modified: '2022-05-25 14:16:16', …}
    FV Player Editor: current_video_db_id: 667
    fv-player-editor-video-opened 0
    FV Player Editor: Video meta 'timeline_previews_job_id' not found for #667
    FV Player Editor: Video meta 'timeline_previews_job_status' not found for #667
    FV Player: Chromecast listener unavailable
    FV Player Editor: No changes to save.

    Please send it over so that we can see what leads to the error.

    Thanks,
    Martin

    Gomez 3 years ago

    Hi, no it didn’t fix it.

    1. If I try to create a new video inside wp-admin -> FV Player –> Videos/Playlists a new record appears in the list but it doesn’t have a name or a preview (even if I added them during the creation). If I try to create a new video inside a wordpress page (using the classic editor) the shortcode [fvplayer id="...."] is added inside the body, but If I publish the page/post FV player does not appear on it. Moreover, the video created directly inside the page is not listed inside wp-admin -> FV Player –> Videos/Playlists. If I try to edit the video from the wordpress page editor, the modal keeps on loading and the error I reported in my previous message appears inside the developer tools. Basically the javascript exception blocks the correct execution of your plugin.

    2. I created a new page/posts and I created a new video with FV player from the WordPress classic editor. I got the shortcode, then I clicked on FV player to edit the video and I got this in my logs:

    FV Player Editor: Loading for TinyMCE in Text Mode...
    FV Player Editor: Loading shortcode: fvplayer id="1039"
    FV Player Editor: Loading shortcode player id: 1039
    FV Player Editor: Running fv_player_db_load Ajax.
    FV Player Editor: Finished fv_player_db_load Ajax.
    {id: '1039', author: '1', changed_by: '1', date_created: '2022-07-06 22:03:41', date_modified: '2022-07-06 22:04:10', …}
    Uncaught TypeError: Cannot read properties of undefined (reading 'match')
        at HTMLDocument.show_stream_fields (shortcode-editor.js?ver=1657144964:3665:89)
        at HTMLDocument.dispatch (load-scripts.php...)
        at v.handle (load-scripts.php...)
        at Object.trigger (load-scripts.php...)
        at HTMLDocument.<anonymous> (load-scripts.php...)
        at Function.each (load-scripts.php...)
        at s.fn.init.each (load-scripts.php...)
        at s.fn.init.trigger (load-scripts.php...)
        at playlist_item_show (shortcode-editor.js?ver=1657144964:3221:12)
        at Object.success (shortcode-editor.js?ver=1657144964:2368:17)
    Martin 3 years ago

    Hello Gomez,

    1. It’s strange if you are not seeing the new videos which you added at all.

    FV Player 7.5.25 did add the splash_attachment_id field to the videos table. Perhaps the upgrade routine failed for you, although we ensure the database is updated anytime you open FV Player Editor.

    Please send over wp-admin -> Settings -> FV Player -> Tools -> System Info, so that we can check if it’s there.

    You can also run this SQL query if you know how to access phpMyAdmin for your website database:

    ALTER TABLE wp_fv_player_videos ADD COLUMN splash_attachment_id bigint(20) unsigned

    That might fix the issue. It will not fix the broken FV Player instances, but you should be able to insert new ones.

    If not, we need to check the PHP errors.

    Ultimately we need to figure out why did the database upgrade process fail and provide a way of retrying it.

    1. I was able to reproduce this issue when I damaged the database on purpose.

    Thanks,
    Martin

    Martin 3 years ago

    Hello Gomez,

    could you please reinstall FV Player? To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost.

    Then install it again and you will get the version with the fixes:

    • FV Player Editor will complain when you try to edit a broken video
    • FV Player Editor will give you proper error when the saving fails
    • Settings -> FV Player -> Tools -> Database gives you the database upgrade check messages

    If you see this, then everything should work:

    Here's the result of the last database upgrade check:
    
    DESCRIBE wp_fv_player_players;
    SHOW INDEX FROM wp_fv_player_players;
    DESCRIBE wp_fv_player_playermeta;
    SHOW INDEX FROM wp_fv_player_playermeta;
    DESCRIBE wp_fv_player_videos;
    SHOW INDEX FROM wp_fv_player_videos;
    DESCRIBE wp_fv_player_videometa;
    SHOW INDEX FROM wp_fv_player_videometa;

    But maybe it will reveal where is the updater stuck.

    Thanks,
    Martin

    Gomez 3 years ago

    I updated again the plugin to the latest version available and I checked if the column “splash_attachment_id” had added to the db table. Apparently the alter table script is beeing executed, but the new column is not present. The only action I made after the plugin was updated was to click on “save changes” button on FV Vast page, I had to do it because I got a message saying I have to insert a valid Vast license key (even if the license was already valid and already present).

    I’d like to not reinstall FV Player, I’m worried to loose all the videos and the configs and I can’t risk that, I have thousands of videos there. Moreover a complete reinstall will cause a big disservice for my customers.

    From the system info I could verify that the table “wp_fv_player_videos” does not have “splash_attachment_id” column. However inside the database panel I can see that the script was executed:

    ALTER TABLE wp_fv_player_videos ADD COLUMN splash_attachment_id bigint(20) unsigned

    Now if I try to create new video inside a wordpress post/page I get this errore message:

    “Failed to save the video: Unknown column ‘splash_attachment_id’ in ‘field list'”

    {"video_meta":{"video":{"0":{"last_video_meta_check":{"value":"1657209730"}}},"hls":{"0":{},"16":{}},"subtitles":{"0":[{"code":"","file":""}]},"transcript":{"0":{}},"chapters":{"0":{}}},"player_meta":{},"fv_wp_flowplayer_field_player_name":"","videos":{"0":{"fv_wp_flowplayer_field_src":"aaa.mp4","fv_wp_flowplayer_field_src1":"","fv_wp_flowplayer_field_src2":"","fv_wp_flowplayer_field_width":"","fv_wp_flowplayer_field_height":"","fv_wp_flowplayer_field_rtmp":"","fv_wp_flowplayer_field_rtmp_path":"","fv_wp_flowplayer_field_mobile":"","fv_wp_flowplayer_field_splash":"aaa.jpg","fv_wp_flowplayer_field_splash_attachment_id":"54927","fv_wp_flowplayer_field_splash_text":"","fv_wp_flowplayer_field_caption":"","fv_wp_flowplayer_field_start":"","fv_wp_flowplayer_field_end":"","fv_wp_flowplayer_hlskey":"","fv_wp_flowplayer_field_encoding_job_id":""}},"fv_wp_flowplayer_field_width":"","fv_wp_flowplayer_field_height":"","fv_wp_flowplayer_field_autoplay":"","fv_wp_flowplayer_field_embed":"","fv_wp_flowplayer_field_align":"","fv_wp_flowplayer_field_controlbar":"","fv_wp_flowplayer_field_sticky":"","fv_wp_flowplayer_field_playlist":"","fv_wp_flowplayer_field_share":"","fv_wp_flowplayer_field_share_url":"","fv_wp_flowplayer_field_share_title":"","fv_wp_flowplayer_field_speed":"","fv_wp_flowplayer_field_playlist_advance":"","fv_wp_flowplayer_field_ab":"","fv_wp_flowplayer_field_hflip":"","fv_wp_flowplayer_field_qsel":"","fv_wp_flowplayer_hlskey":"","fv_wp_flowplayer_field_copy_text":"","fv_wp_flowplayer_field_end_actions":"","fv_wp_flowplayer_field_redirect":"","fv_wp_flowplayer_field_popup_id":"","fv_wp_flowplayer_field_popup":"","fv_wp_flowplayer_field_email_list":"0","fv_wp_flowplayer_field_ad":"","fv_wp_flowplayer_field_ad_width":"","fv_wp_flowplayer_field_ad_height":"","fv_wp_flowplayer_field_ad_skip":"","fv_wp_flowplayer_field_video_ads":"","fv_wp_flowplayer_field_video_ads_post":""}
    Gomez 3 years ago

    This is the full list of what I see inside the database panel inside FV Player Tools tab:

    Here’s the result of the last database upgrade check:

    DESCRIBE wp_fv_player_players;
    SHOW INDEX FROM wp_fv_player_players;
    DESCRIBE wp_fv_player_playermeta;
    SHOW INDEX FROM wp_fv_player_playermeta;
    DESCRIBE wp_fv_player_videos;
    SHOW INDEX FROM wp_fv_player_videos;
    ALTER TABLE wp_fv_player_videos ADD COLUMN splash_attachment_id bigint(20) unsigned
    DESCRIBE wp_fv_player_videometa;
    SHOW INDEX FROM wp_fv_player_videometa;
    Martin 3 years ago

    Hello Gomez,

    I’m mystified why the database upgrade fails to execute the query:

    ALTER TABLE wp_fv_player_videos ADD COLUMN splash_attachment_id bigint(20) unsigned

    Please access your web host database management tool and try to run the query there. Perhaps it will show the error which is preventing the database upgrade process from finishing. Alternatively you can use the WP phpMyAdmin plugin, but I would recommend you to remove it once you are done.

    Thanks,
    Martin

    Gomez 3 years ago

    This is the SQL exception thrown while executing the alter table query:

    #1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 8126. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
    Martin 3 years ago

    Hello Gomez,

    please reinstall FV Player from this link: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip

    To do that you will have to first deactivate and delete the current FV Player plugin you are using. WordPress will warn you that you might loose settings and data, but it’s not the case with our plugin, no settings now videos will be lost. Or you can just replace the plugin files via FTP.

    Then it should finally work.

    It’s weird that you were able to even install FV Player if your database server limits the table row size to just 8126 bytes. So something has changed on your database server it seems and now any change to the table was no longer permitted. So I set these table fields to be smaller where possible.

    Thanks,
    Martin

    Gomez 3 years ago

    Do I also need to uninstall FV Pro and FV Vast or just the FV Player is enough?

    Martin 3 years ago

    Hello Gomez,

    only FV Player Pro needs to be uninstalled.

    Thanks,
    Martin

    Gomez 3 years ago

    Hi, I reinstalled only FV Player while I kept FV Pro installed and everything seems to work again fine. Thank you for the help!

Viewing 12 replies - 1 through 12 (of 12 total)
Reply To: Can’t create new video after last update



Please Sign in or Register to upload files.

Related Posts

  1. 7.3.1.727: Gutenberg edit screen: heartbeat JS `fv_flowplayer_conf` is undefined

    7.3.1.727: Gutenberg edit screen: heartbeat JS `fv_flowplayer_conf` is undefined

  2. Clash with Cookie Law Bar plugin

    Clash with Cookie Law Bar plugin

  3. Plugin conflict with TagDiv ‘Newpapers’ theme

    Plugin conflict with TagDiv ‘Newpapers’ theme

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!