Skip Navigation

[Resolved] Add Media – MP4 file not playing

This support ticket is created 2 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 22 replies, has 2 voices.

Last updated by kristofG 2 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2453139
Screenshot_2.jpg
Screenshot_1.jpg

I have added some custom fields to the Post type and in the WYSIWYG editor, I choose Add Media and select the uploaded mp4 file. It does not play.
There is no scr or controles in:
"<mediaelementwrapper id="video-1165-5"><video class="wp-video-shortcode" id="video-1165-5_from_mejs" width="720" height="720" preload="metadata" style="width: 100%; height: 100%;">hidden link">hidden link;"

When I add the same video via the Gutenberg block, it works.

#2453821

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I can see the issue but I just run a test with .mov video, can you confirm that you are adding the video to post content (post body) field or you have WYSIWYG custom field where you are adding the video?

#2455151

I works fine in the post content, but I cannot add it there because the post content works as Article intro and the Toolset CF acts as complete article. The video does not work in the WYSIWYG editor.
Maybe I have to switch the use of the CF and the Post Content.

#2456193

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Here is the sandbox site, you can auto-login to it using the following link:
- hidden link

Can you please try to setup the custom WYSISYG field and try to upload your mp4 file and see if you able to see the issue. If yes, please share the problem URL of that post.

#2456339
Screenshot_5.jpg
Screenshot_4.jpg

I have created a post, hidden link
The video doesn't even show on your site.
At least, the Text mode for the WYSIWYG editor works on your sandbox. See a screenshot attached, where ours is empty.

#2456359

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can see the video is working here:
- hidden link

I've created the following content template to display the video:
- hidden link

#2456361

Ok, so perhaps the fact that the text editor for the wysiwyg editor on our site is empty, while the visual editor shows the [video] code, could be a hint why it's not working on our site.

#2456419

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

we have the following known issue with the WYSIWYG custom field:
- https://toolset.com/errata/wysiwyg-fields-revert-to-visual-tab-upon-updates/

Can you please try to check and make sure its the same or the different one.

#2457165

No, it doesn't seem related. My issue is whatever is entered in the Visual Editor is hidden in the Text Editor.

<textarea data-submitanyway="" class="wpt-wysiwyg wp-editor-area" rows="10" autocomplete="off" cols="40" name="wpcf[extra-content]" id="wpcf-extra-content" style="height: 275px; display: none;" aria-hidden="true"><p>tech control. take control.</p>
<p><strong>Vanaf november te ontdekken in onze showroom!</strong></p></textarea>

is set to display:none; by default, but when you switch to Text Editor, it becomes visibility: hidden;

I have also tried with all plugins except Toolset Types disabled.

As for the video not working. I have also tried this with all plugins except Toolset Types, Elementor and Pro disabled.

#2458067

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share problem URL and admin access details. Let me review if I can able to share any workaround.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2458371

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can see the video on the following page:
- hidden link

Is there any other place where you added the video?

#2458377

It doesn't seem you added the video in a Toolset WYSIWYG field but in the default block editor, correct?

#2458411

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

You mean on the post body field - right? Yes, its added on post body field.

Can you please share problem URL where its not working exactly?

#2458475

Sorry, can't share problem URL as this is a live site and showing you the issue would mean everybody sees the issue.
I am sorry if I wasn't clear, but I have stated a few times already I try to add the mp4 to the Toolset WYSIWYG custom field "extra informatie".

#2460905

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As we checked with the sandbox site I shared where I could not able to reproduce the issue.

As you shared this is a production/live site for you, is it possible for you to share duplicator copy of your site?
It seems there could be possible compatibility with any of third-party plugins you are using or theme but we can not dig this further on live site that is why I will require site copy.

Is it possible for you to send me the site copy?
=> https://toolset.com/faq/provide-supporters-copy-site/

I have set the next reply to private which means only you and I have access to it.