Skip Navigation

[Resolved] Display custom video field not using URL

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user's custom video fields are not displaying on the frontend with the embedded video player, rather they are just displaying the URL.

Solution:

In this Users case I saw that their video format was .MOV which is not one of the formats that the wordpress embedded player supports.

To get a list of the supported video formats you can see the link below.
https://wordpress.org/support/article/video-shortcode/#options

This support ticket is created 3 years, 6 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 7 replies, has 2 voices.

Last updated by Tai Chang 3 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2088373

Tell us what you are trying to do? I want to display a website member uploaded custom field of video in views or archive of wordpress pages, but not showing the video URL but an image or the video directly. How can I do it in Toolset?

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#2088677

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tai,

Thank you for getting in touch.

Can you let me know how you are displaying the video fields ? Are you using our Single Field block to display the video field ?

Can you provide me with a screenshot of the block you are using or the method you are using to insert the video into the page template.

Also a screenshot of the custom field as well.

Thanks,
Shane

#2088693
FF61A1DF-BB25-48FC-93AA-774DBA1A2B61.png

Hi Shane,

I create a custom post type, in which I create several custom fields with one of it is video. Then, I create a form with these custom fields and insert the form into a wordpress page for website member to insert data and upload video. I then create views and archive used in wordpress pages, by using toolset block editor, to display these custom fields.

Fir the video custom field, I select [fields and texts] button in toolset block editor when creating the views and archive.

After all of above, when the custom fields displayed on screen, the video field shows a URL link (or file name) instead of a video on my computer screen.

My testing website is in Chinese. I attached a screen shot of a WordPress page which includes a member inputted toolset form. From the attached screen shot, you may find the button right corner shows the URL link of the uploaded video, while the button left shows my uploaded pictures.

Please note that, when I (website member) uploaded the video in the form, I select a mov video saved in my iPad.

#2088779
A34FA2C7-0F5C-40FA-BBA1-35F8FFACB901.jpeg
928E049A-5D0A-41C3-9097-D6F40DEAD35D.jpeg
F292825D-1770-4033-A931-23ED403F414E.jpeg
59658DBF-19B9-441B-9C86-9E5BFC5A91CB.jpeg
B7A073D4-9F0F-4623-B581-D876A870EA64.jpeg
6365B52A-8524-45A7-8C8C-CF19C8A042C8.jpeg

Hi Shane,

Here I will attach the screen shots of the video custom field, and the steps that I use to insert it into a view (or archive) using block editor.

#2088833

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tai,

I saw that you're using video files in .mov format. Based on my research .mov files won't render in an embedded player. You will need to convert the videos to MP4 format using a tool like the one below.

hidden link

I've also confirmed on my end that .mov format movies doesn't display in embedded players already.

Thanks,
Shane

#2088843

Hi Shane,

Thanks for your kind and quick support.

If I understand you correctly, there is no way for .mov to be shown as embedded player in it.

Except MP4 format, can any other video format render an embedded player in it too?

#2088901

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Tai,

Yes there are other formats and they can be seen at the wordpress document below.
https://wordpress.org/support/article/video-shortcode/#options

Thanks,
Shane

#2089217

Thanks to Toolset tech support team. My issue is resolved now. Thank you!