Foliovision › Forums › FV Player › Bug Reports › I can’t had shortcode with divi theme
-
Hi,
I can’t had shortcode in divi theme.
I have this message:
An unexpected error has occurred. Please copy the player raw data below and submit a support ticket to Foliovision
And this code:
{"video_meta":{"video":{"0":{"last_video_meta_check":{"value":"1544187613"},"auto_caption":{"value":"1"},"auto_splash":{"value":"1"},"duration":{"value":"176"}}},"hls":{"0":{}},"subtitles":{"0":[{"code":"","file":""}]},"transcript":{"0":{}},"chapters":{"0":{}}},"player_meta":{},"fv_wp_flowplayer_field_player_name":"","videos":{"0":{"fv_wp_flowplayer_field_src":"https://vimeo.com/297337208","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":"https://i.vimeocdn.com/video/735001796_1280x720.jpg?r=pad","fv_wp_flowplayer_field_splash_text":"","fv_wp_flowplayer_field_caption":"2 - Playback - All of Me","fv_wp_flowplayer_field_start":"","fv_wp_flowplayer_field_end":"","fv_wp_flowplayer_hlskey":"","fv_wp_flowplayer_hlskey_cryptic":""}},"fv_wp_flowplayer_field_subtitles_lang":"","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_live":"","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_hlskey_cryptic":"","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":""}
Also, I have more than 300 vimeo videos on my website. Is it possible to auto convert all video in FV shortcode or I need to do that manually ?
Thanks
-
-
Hi Martin,
Thanks for your fast response.
Do you know when you will add the option to convert videos with the FV player shortcode?
The System info:
### Begin System Info ### ## Please include this information when posting support requests ## Multisite: No FV Player version: 7.3.3.727 FV Player core version: 7.2.7.1 FV Player license: Valid (next check 2018-12-08 12:57:42 GMT) FV Player Pro version: 7.3.3.727.beta FV Player Pro license: Valid (next check 2018-12-08 12:57:41 GMT) WordPress Version: 5.0 Permalink Structure: /%postname%/ Active Theme: (redacted) Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36 PHP Version: 7.0.32 MySQL Version: 5.5.5-10.2.19-MariaDB Web Server Info: Apache WordPress Memory Limit: 128M PHP Safe Mode: No PHP Memory Limit: 256M PHP Upload Max Size: 512M PHP Post Max Size: 512M PHP Upload Max Filesize: 512M PHP Time Limit: 360 PHP Max Input Vars: 2000000 PHP Arg Separator: & PHP Allow URL File Open: Yes WP_DEBUG: Disabled DISPLAY ERRORS: On (off) cURL: Your server supports cURL. ACTIVE PLUGINS: Contact Form 7: 5.0.5 Custom login form wishlist member: 1.0.0 Email Templates: 1.2.2.3 Extra Shortcodes for WP eStore: 5.1.9 FV Player: 7.3.3.727 FV Player Pro: 7.3.1.727 Google Analytics for WordPress by MonsterInsights: 7.3.2 ManageWP - Worker: 4.6.3 Profile Builder: 2.9.3 Query Monitor: 3.1.1 Redirection: 3.6.3 SecuPress Free — WordPress Security: 1.4.7 Shortcode in Menus: 3.4 Smush: 2.9.1 TinyMCE Advanced: 4.8.0 WishList Member™: 2.93.4800 WP eStore: 8.0.5 WP Payment Gateway Bundle: 2.3.1 WP PDF Stamper: 4.6.2 WP PDF Stamper API to Shortcode: 1.0 WP Rocket: 3.2.2 SETTINGS Array ( [notice_new_lightbox] => 1 [autoplay] => false [googleanalytics] => [key] => (redacted) [logo] => [rtmp] => [auto_buffering] => false [disableembedding] => true [disablesharing] => true [disable_video_hash_links] => true [popupbox] => false [allowfullscreen] => true [allowuploads] => true [postthumbnail] => false [tgt] => backgroundcolor [backgroundColor] => #333333 [canvas] => #000000 [sliderColor] => #ffffff [durationColor] => #eeeeee [timeColor] => #eeeeee [progressColor] => #bb0000 [bufferColor] => #eeeeee [timelineColor] => #666666 [borderColor] => #666666 [hasBorder] => false [adTextColor] => #888888 [adLinksColor] => #ff3333 [subtitleBgColor] => rgba(0,0,0,1.00) [subtitleSize] => 16 [playlistBgColor] => #808080 [playlistFontColor] => # [playlistSelectedColor] => #bb0000 [logoPosition] => bottom-left [parse_commas] => false [width] => 1400 [height] => 787 [engine] => false [font-face] => Tahoma, Geneva, sans-serif [ad] => [ad_width] => 0 [ad_height] => 0 [ad_css] => .wpfp_custom_ad { position: absolute; bottom: 10%; z-index: 20; width: 100%; } .wpfp_custom_ad_content { background: white; margin: 0 auto; position: relative } [ad_show_after] => 0 [disable_videochecker] => false [interface] => Array ( [ads] => false [align] => false [autoplay] => false [controlbar] => true [embed] => true [live] => false [mobile] => false [playlist_advance] => false [playlist] => false [playlist_captions] => false [share] => false [speed] => true [splash_text] => false [subtitles] => true [sticky] => true [end_actions] => false [lightbox] => false [ab] => true [shortcode_editor_old] => false [popup] => true ) [amazon_bucket] => Array ( [0] => ) [amazon_key] => (redacted, 1) [amazon_secret] => (redacted, 1) [amazon_region] => Array ( [0] => ) [amazon_expire] => 5 [amazon_expire_force] => false [fixed_size] => false [js-everywhere] => false [marginBottom] => 28 [ui_play_button] => true [volume] => 0.7 [player-position] => [playlist_advance] => true [sharing_email_text] => Check out the amazing video here [liststyle] => horizontal [ui_speed_increment] => 0.1 [popups_default] => no [email_lists] => Array ( [#fv_list_dummy_key#] => Array ( [title] => [description] => [first_name] => 0 [last_name] => 0 [disabled] => 0 ) [0] => Array ( [title] => [description] => [first_name] => 0 [last_name] => 0 [disabled] => 0 ) [1] => Array ( [title] => Subscribe to list one [description] => Two good reasons to subscribe right now [first_name] => 1 [last_name] => 0 [disabled] => 0 ) ) [sticky_video] => false [sticky_place] => right-bottom [sticky_width] => 380 [playlist-design] => 2017 visible-captions [skin-slim] => Array ( [progressColor] => #c97d39 ) [skin-youtuby] => Array ( [progressColor] => #bb0000 ) [skin-custom] => Array ( [hasBorder] => false [bottom-fs] => false [borderColor] => #666666 [marginBottom] => 2.8 [bufferColor] => #eeeeee [canvas] => #000000 [backgroundColor] => rgba(51,51,51,1.00) [font-face] => Tahoma, Geneva, sans-serif [player-position] => [progressColor] => #bb0000 [timeColor] => #eeeeee [durationColor] => #eeeeee [design-timeline] => [design-icons] => fp-edgy ) [skin] => slim [hlsjs] => true [lightbox_images] => false [lightbox_improve_galleries] => false [mailchimp_api] => [mailchimp_list] => [mailchimp_label] => Subscribe for updates [version] => 7.3.3.727 [pro] => Array ( [quality] => , [video_ads_default] => no [video_ads_postroll_default] => no [video_ads_skip] => 5 [video_ads_skip_minimum] => 10 [interface] => Array ( [chapters] => false [copy_text] => false [hflip] => false ) [autoplay_once] => false [start_end] => false [autoplay_scroll] => false [ab_loop] => true [vimeo_debug] => false [copy_text] => false [copy_text_time] => 5 [download_template] => %caption% [vimeo] => true [yt_logo] => false [youtube_titles_disable] => false [youtube_ads_disable] => false [youtube_key] => [amazon_s3] => false [cf_domain] => [cf_key_id] => [cf_pk] => [elastic_key] => [elastic_secret] => [elastic_region] => [bunnycdn_domain] => [bunnycdn_secure_token] => (redacted) [keycdn_domain] => [keycdn_secure_token] => (redacted) [stackpath_domain] => [stackpath_secure_token] => (redacted) [ads_exoclick_zone] => [ads_exoclick_login] => [ads_exoclick_cat] => [ads_exoclick_site] => [video_ads_between_vids] => false [video_ads_once] => false [video_ads] => Array ( ) [vimeo_at] => (redacted) [vimeo_qs] => true [vimeo_titles_disable] => true [vimeo_dash_disable] => false [vimeo_iframe] => false [vimeo_location] => [vimeo_direct_ajax] => false [transcript_theme] => light [transcript_hidden] => false [vimeo_security] => false ) [show_controlbar] => false [ui_no_picture_button] => false [ui_repeat_button] => true [ui_speed] => true [splash] => [subtitleOn] => false [video_position_save_enable] => true [fv-wp-flowplayer-submit] => SaveAllChanges [integrations] => Array ( [featured_img] => true [wp_core_video] => false [embed_iframe] => true [facebook_sharing] => false [schema_org] => false ) [css_disable] => false [profile_videos_enable_bio] => false [parse_comments] => false [rtmp-live-buffer] => false [db_duration] => false [mobile_native_fullscreen] => false [mobile_force_fullscreen] => false [mobile_alternative_fullscreen] => false [video_sitemap] => false [video_sitemap_meta] => [playlistFontColor-proxy] => # [subtitleFontFace] => inherit [s3_browser] => false [vi_login] => [vi_pass] => [video_checker_agreement] => true [notice_db] => true [key7] => [fv_player_admin_pro_quality_alive] => 1 [fv_player_admin_pro_video_ads_alive] => 1 [video_model_db_checked] => 7.3.3.727 [video_meta_model_db_checked] => 7.3.3.727 [player_model_db_checked] => 7.3.3.727 [player_meta_model_db_checked] => 7.3.3.727 [wistia_use_fv_player] => false ) DATABASE CREATE TABLE `wp_fv_player_players` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `player_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `player_slug` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `videos` text COLLATE utf8mb4_unicode_ci NOT NULL, `ab` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL, `ad` text COLLATE utf8mb4_unicode_ci NOT NULL, `ad_height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `ad_width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `ad_skip` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `align` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `author` bigint(20) unsigned NOT NULL DEFAULT 0, `autoplay` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `controlbar` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `copy_text` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `changed_by` bigint(20) unsigned NOT NULL DEFAULT 0, `date_created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `date_modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `embed` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL, `end_actions` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `end_action_value` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `hflip` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_caption` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_height` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `lightbox_width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `playlist` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `playlist_advance` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `qsel` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL, `share` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `share_title` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL, `share_url` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `speed` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `sticky` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, `video_ads` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `video_ads_post` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL, `width` varchar(7) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `wp_fv_player_playermeta` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `id_player` bigint(20) unsigned NOT NULL DEFAULT 0, `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_player` (`id_player`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `wp_fv_player_videos` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `src` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `src1` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `src2` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `splash` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `splash_text` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `caption` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `end` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `mobile` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `rtmp` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `rtmp_path` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, `start` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `src` (`src`(191)), KEY `caption` (`caption`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CREATE TABLE `wp_fv_player_videometa` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `id_video` bigint(20) unsigned NOT NULL DEFAULT 0, `meta_key` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `meta_value` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `id_video` (`id_video`), KEY `meta_key` (`meta_key`(191)) ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ### End System Info ###
Hello Clement,
looking at these create table statements it appears you were able to insert 6 players with 1 video each before this issue has appeared.
Do you get the same problem if you try to insert just some random video source like “1”? Or does the issue only occur when you put in a real Vimeo video?
Can you use the wp-admin -> FV Player -> Import function with the code which you posted in your first message here? That did work for me and it should work for you as well if it was just some JavaScript error.
Can you open your browser JavaScript console (here’s how: https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis ) and then repeat your action and see if you get some error?
Are you able to check the PHP error logs? Simply repeat your action and see what was added to the logs.
Thanks,
MartinHi,
Today I don’t have error message but I can’t insert the shortcode.
Look this screencast:
https://www.youtube.com/watch?v=Q1lqNyHgZ5MNothing happen…
I have these error in the console:
fv_wp_flowplayer_field_src has been updated? false https://vimeo.com/297337208
shortcode-editor.js:3166 fv_wp_flowplayer_field_splash has been updated?
shortcode-editor.js:3166 fv_wp_flowplayer_field_caption has been updated?With the import function with the first message I can import the video and I get this shortcode:
[fvplayer id="8"]I can also use add new to import video with url. But it’s the shortcode option in the text editor that don’t work
Also I have this message:
It appears there are no Flowplayer scripts on your site, your videos might not be playing, please check. Check your template’s header.php file if it contains wp_head() function call and footer.php should contain wp_footer()!
I have check and I have wp_head() and wp_footer() in my WordPress theme.
When I ad the shortcode manually, I don’t have any problem to play videos