0

example URL: http://ugcdl.video.gtimg.com/flv/185/77/i030481bzph.m701.mp4?vkey=B4D993A94B86BCBC49D3BE5479756DFFDBEA81EAA4D6D62BB54D086777A65DB6C58CF8C3DA483E61B0DF5835B393B5A6C604E4F3599173481BA62B31E4D8E89CAD51F4C013C74FC1275056E0B849675296B3A3E60C140D45

embed this url in content and use wp_video_shortcode function both not work.only show URL directly in frontend.

anyone can help me? thanks .

1 Answer 1

0

You must have to open this URL in iframe to display as embed format.

<!DOCTYPE html>
<html>
<body>

<iframe width="420" height="345" src="https://www.youtube.com/embed/XGSy3_Czz8k">
</iframe>

</body>

For more about IFRAME Please visit this link https://www.w3schools.com/html/tryit.asp?filename=tryhtml_youtubeiframe

3
  • thank you.can you give me an example code or what the iframe code like?I am newer and english poor.thanks!
    – uoint
    Mar 24, 2017 at 9:23
  • it works for youtube but ot work with my example URL.thank you.
    – uoint
    Mar 24, 2017 at 9:52
  • Welcome Have fun!!!! Mar 24, 2017 at 10:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.