WPIntell

Source evidence

Shortcode doesn’t work

Device Wrapper · support · 2026-02-18T17:42:00+00:00

questionsentiment
mediumseverity
0.66relevance
3replies
Evidence onlycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 1 rows with source links

100.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

0 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Selah resolved
Hello. Is there any reason this shortcode won’t work? [device-wrapper src=” https://www.youtube.com/watch?v=FW0VdAYF8ro” ; media_type=”video” autoplay=”1″ autoplay_on_view=”1″] I am trying to test playing any video from youtube or vimeo and all it displays instead is the phone mockup with the text “iphone_14_pro_v2”. No video is displayed. Is there something I am missing, or is the plugin not working? Hello @tubescreamer , To use a YouTube video as a source, you need to provide media_type="iframe" and update your video’s URL to look like this: https://www.youtube.com/embed/YOUR_VIDEO_ID Also please note, that autoplay option is valid only for video media types, not for embedding videos like YouTube or Vimeo. I’ll probably add that feature in the next release though. So to sum up, the correct shortcode for your YouTube video will be like this: [device-wrapper src="https://www.youtube.com/embed/FW0VdAYF8ro" media_type="iframe"] Ah okay I get it. Thanks! So i’m assuming for Vimeo videos, media_type=”iframe” is to be used as well? Correct!

Comments

3 shown
Bogdan Bendziukov 2026-02-18T17:59:00+00:00

Hello @tubescreamer , To use a YouTube video as a source, you need to provide media_type="iframe" and update your video’s URL to look like this: https://www.youtube.com/embed/YOUR_VIDEO_ID Also please note, that autoplay option is valid only for video media types, not for embedding videos like YouTube or Vimeo. I’ll probably add that feature in the next release though. So to sum up, the correct shortcode for your YouTube video will be like this: [device-wrapper src="https://www.youtube.com/embed/FW0VdAYF8ro" media_type="iframe"]

Selah 2026-02-18T18:10:00+00:00

Ah okay I get it. Thanks! So i’m assuming for Vimeo videos, media_type=”iframe” is to be used as well?

Bogdan Bendziukov 2026-02-18T19:56:00+00:00

Correct!