Skip Navigation

[Resolved] Embedding a video uploaded to media library using layouts

This support ticket is created 5 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 5 years, 6 months ago.

Assisted by: Beda.

Author
Posts
#1245280
Screen Shot 2019-05-18 at 11.25.07 am.png

Tell us what you are trying to do? Trying to get a video to show as an embeded object using layouts

Is there any documentation that you are following?
- https://toolset.com/documentation/user-guides/adding-audio-video-and-other-embedded-content-to-your-site/
- https://toolset.com/documentation/user-guides/adding-audio-video-and-other-embedded-content-to-your-site/
- https://codex.wordpress.org/Video_Shortcode

Is there a similar example that we can see? hidden link

What is the link to your site? hidden link

Followed everything I can find. Tried to use the video shortcode many different ways and it doesn't work (just shows text). Currently the video is shown as a link which requires people to download to view it. I want to show it as an embded object on the page.

#1245311

It seems WMV needs to be processed before working on WordPress:
hidden link > How to Embed a WMV Video in WordPress
It says there WMV is a Windows Media Video file compressed with Microsoft’s video compression formats. This format is normally used in Windows to store videos on your computer. Since WMV is not an HTML5 compatible video format, it’s not possible to play this type of video file in a modern browser.

Hence you should also not be ably outputting this video in any native WordPress page or post, even without Layout.

Can you confirm this?
Note that Layouts also offers Text Editors, where you can paste URLs or another embed code which might be helpful since the Image Cell is a hardcoded image and the YouTube Video Cell is only for that (hardcoded YouTube videos).

Otherwise, you can use the Embedded Media Field in Types, however, note that if the browser can't play the file, then neither could Toolset

I'd suggest moving to another file format or consider uploading the Videos to YouTube and use their URL or embed codes, depending on your needs.