{"id":38305,"date":"2025-08-16T09:44:18","date_gmt":"2025-08-16T16:44:18","guid":{"rendered":"https:\/\/cloudinary.com\/blog\/?p=38305"},"modified":"2025-08-16T09:44:18","modified_gmt":"2025-08-16T16:44:18","slug":"how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery","status":"publish","type":"post","link":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/","title":{"rendered":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)"},"content":{"rendered":"\n<p>Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs power HTML embeds, API calls, and integrations with video platforms like Cloudinary. But what exactly are they, and how do you use them correctly across different contexts?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Question:<\/strong><\/h2>\n\n\n\n<p>Hey everyone,<\/p>\n\n\n\n<p>I\u2019m working on a few content-heavy pages and keep seeing references to \u201cvideo URLs\u201d in embed codes, media players, and CMS fields.<\/p>\n\n\n\n<p>My question is: How do you use a video URL properly?<\/p>\n\n\n\n<p>More specifically:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What exactly is a video URL?<\/li>\n\n\n\n<li>Can I just paste a link to a <code>.mp4<\/code> file into my HTML?<\/li>\n\n\n\n<li>How does it work with video tags, players, or platforms like Cloudinary?<\/li>\n\n\n\n<li>Is there a difference between YouTube links and direct file links?<\/li>\n<\/ul>\n\n\n\n<p>I\u2019m looking for a breakdown that helps me use video URLs effectively, both for static sites and CMS-based projects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Answer:<\/strong><\/h2>\n\n\n\n<p>It&#8217;s a great question, one that often challenges new and even experienced developers. Let\u2019s walk through what a video URL is, how it works in different contexts, and how to use it effectively including how platforms like <a href=\"https:\/\/cloudinary.com\/products\/video\">Cloudinary<\/a> can make the process smarter and faster.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Is a Video URL?<\/strong><\/h2>\n\n\n\n<p>A video URL is simply a direct link to a video resource on the web. This could be:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A raw video file (like <code>.mp4<\/code>, <code>.webm<\/code>, <code>.mov<\/code>)<\/li>\n\n\n\n<li>A hosted video (on Cloudinary, YouTube, Vimeo)<\/li>\n\n\n\n<li>A dynamic, API-generated stream (like HLS or MPEG-DASH)<\/li>\n<\/ul>\n\n\n\n<p>Example of a direct file link:<\/p>\n\n\n\n<p><code>https:\/\/www.example.com\/media\/tutorial.mp4<\/code><\/p>\n\n\n\n<p>Example of a Cloudinary-optimized video URL:<\/p>\n\n\n\n<p><code>https:\/\/res.cloudinary.com\/demo\/video\/upload\/f_auto,q_auto\/sample.mp4<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Use a Video URL in HTML<\/strong><\/h2>\n\n\n\n<p>The most common use case is in the <code>&lt;video><\/code> or <code>&lt;iframe><\/code> tags.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Using <code>&lt;video><\/code> with a direct video URL:<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml shcb-wrap-lines\">HTML\n<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">video<\/span> <span class=\"hljs-attr\">controls<\/span> <span class=\"hljs-attr\">autoplay<\/span> <span class=\"hljs-attr\">muted<\/span> <span class=\"hljs-attr\">width<\/span>=<span class=\"hljs-string\">\"100%\"<\/span>&gt;<\/span>\n\n\u00a0\u00a0<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">source<\/span> <span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">\"https:\/\/example.com\/video.mp4\"<\/span> <span class=\"hljs-attr\">type<\/span>=<span class=\"hljs-string\">\"video\/mp4\"<\/span>&gt;<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml shcb-wrap-lines\">Your browser does not support the video tag.\n\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">video<\/span>&gt;<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<ul class=\"wp-block-list\">\n<li><code>controls<\/code> adds play\/pause UI<\/li>\n\n\n\n<li><code>autoplay<\/code> and <code>muted<\/code> allow for silent autoplay<\/li>\n\n\n\n<li><code>src<\/code> is where your video URL goes<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Using an iframe with a platform link (like YouTube):<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml shcb-wrap-lines\"><span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">iframe<\/span> <span class=\"hljs-attr\">width<\/span>=<span class=\"hljs-string\">\"560\"<\/span> <span class=\"hljs-attr\">height<\/span>=<span class=\"hljs-string\">\"315\"<\/span>\u00a0\n\n\u00a0\u00a0<span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">\"https:\/\/www.youtube.com\/embed\/VIDEO_ID\"<\/span>\u00a0\n\n\u00a0\u00a0<span class=\"hljs-attr\">frameborder<\/span>=<span class=\"hljs-string\">\"0\"<\/span> <span class=\"hljs-attr\">allowfullscreen<\/span>&gt;<\/span>\n\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">iframe<\/span>&gt;<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Iframes are ideal for platforms like YouTube or Vimeo, not for raw video files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How to Use a Cloudinary Video URL<\/strong><\/h2>\n\n\n\n<p>When you upload a video to<a href=\"https:\/\/cloudinary.com\/products\/video\"> Cloudinary<\/a>, it generates a dynamic URL for each asset. These URLs support:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Format switching (<code>f_auto<\/code>)<\/li>\n\n\n\n<li>Quality optimization (<code>q_auto<\/code>)<\/li>\n\n\n\n<li>Transformations (like trimming, cropping, overlays)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Example Cloudinary video embed:<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"HTML, XML\" data-shcb-language-slug=\"xml\"><span><code class=\"hljs language-xml shcb-wrap-lines\">HTML\n<span class=\"hljs-tag\">&lt;<span class=\"hljs-name\">video<\/span> <span class=\"hljs-attr\">controls<\/span> <span class=\"hljs-attr\">width<\/span>=<span class=\"hljs-string\">\"100%\"<\/span>\n\n<span class=\"hljs-attr\">src<\/span>=<span class=\"hljs-string\">\"https:\/\/res.cloudinary.com\/demo\/video\/upload\/f_auto,q_auto\/sample.mp4\"<\/span>&gt;<\/span>\n\n<span class=\"hljs-tag\">&lt;\/<span class=\"hljs-name\">video<\/span>&gt;<\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">HTML, XML<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">xml<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Want to trim or watermark the video on-the-fly? Just modify the URL:<\/p>\n\n\n\n<p><code>https:\/\/res.cloudinary.com\/demo\/video\/upload\/e_trim:5,du_10\/l_logo,g_north_east\/sample.mp4<\/code><\/p>\n\n\n\n<p><a href=\"https:\/\/cloudinary.com\/documentation\/video_manipulation_and_delivery\">Learn more about Cloudinary video transformations<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Mistakes to Avoid<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Pasting a YouTube link in the <code>&lt;video><\/code> tag:<\/strong> YouTube doesn\u2019t serve raw <code>.mp4<\/code> files; use <code>&lt;iframe><\/code> instead.<\/li>\n\n\n\n<li><strong>Using a file URL without checking format:<\/strong> Make sure the file is compatible (<code>.mp4<\/code>, <code>.webm<\/code>, etc.) and uses the right <code>type=\"video\/...\"<\/code> attribute.<\/li>\n\n\n\n<li><strong>Ignoring responsiveness:<\/strong> Always style your <code>&lt;video><\/code> element for mobile devices (like <code>width: 100%<\/code>).<\/li>\n<\/ul>\n\n\n\n<p><strong>Bonus: Using Video URLs in CMS or APIs<\/strong><\/p>\n\n\n\n<p>In CMS platforms like WordPress, Sanity, or Contentful, you can often:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Paste a Cloudinary or raw <code>.mp4<\/code> URL into a video field<\/li>\n\n\n\n<li>Use a WYSIWYG editor to embed via shortcode or HTML<\/li>\n\n\n\n<li>Deliver the URL via API and render it with a player in your frontend framework (React, Vue, etc.)<\/li>\n<\/ul>\n\n\n\n<p>With Cloudinary, the video URL doubles as your API interface; every transformation is encoded directly in the URL, so there\u2019s no need for custom video processing scripts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>TL;DR \u2014 How to Use a Video URL<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Task<\/strong><\/td><td><strong>Format to Use<\/strong><\/td><td><strong>Video URL Example<\/strong><\/td><\/tr><tr><td><strong>HTML5 embed<\/strong><\/td><td><code>&lt;video><\/code> + direct <code>.mp4<\/code> URL<\/td><td><code>https:\/\/example.com\/video.mp4<\/code><\/td><\/tr><tr><td><strong>YouTube\/Vimeo<\/strong><\/td><td><code>&lt;iframe><\/code> embed<\/td><td><code>https:\/\/www.youtube.com\/embed\/...<\/code><\/td><\/tr><tr><td><strong>Optimized delivery<\/strong><\/td><td>Cloudinary dynamic URL<\/td><td><code>https:\/\/res.cloudinary.com\/...<\/code><\/td><\/tr><tr><td><strong>CMS\/API integration<\/strong><\/td><td>Paste or fetch URL<\/td><td>Works with most modern CMS platforms<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>More than just a link, a video URL is the key to fast and optimized playback.. With platforms like<a href=\"https:\/\/cloudinary.com\/products\/video\"> Cloudinary<\/a>, you can do much more than just embed; you can control how the video is delivered, styled, and streamed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Learn More<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/cloudinary.com\/documentation\/video_manipulation_and_delivery\">Cloudinary Video Delivery Docs<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudinary.com\/users\/register\/free\">Sign Up for Cloudinary<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs power HTML embeds, API calls, and integrations with video platforms like Cloudinary. But what exactly are they, and how do you use them correctly across different contexts? Question: Hey [&hellip;]<\/p>\n","protected":false},"author":112,"featured_media":38306,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_cloudinary_featured_overwrite":false,"footnotes":""},"categories":[1],"tags":[423],"class_list":["post-38305","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-questions"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.6 (Yoast SEO v26.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)<\/title>\n<meta name=\"description\" content=\"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)\" \/>\n<meta property=\"og:description\" content=\"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudinary Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-16T16:44:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"jeromehidalgosanz\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"NewsArticle\",\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\"},\"author\":{\"name\":\"jeromehidalgosanz\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/87d542a9f3b665a624072d59748ecce1\"},\"headline\":\"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)\",\"datePublished\":\"2025-08-16T16:44:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\"},\"wordCount\":609,\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA\",\"keywords\":[\"Questions\"],\"inLanguage\":\"en-US\",\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/cloudinary.com\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\",\"url\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\",\"name\":\"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)\",\"isPartOf\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA\",\"datePublished\":\"2025-08-16T16:44:18+00:00\",\"description\":\"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs\",\"breadcrumb\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA\",\"width\":1200,\"height\":628},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cloudinary.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#website\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"name\":\"Cloudinary Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cloudinary.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#organization\",\"name\":\"Cloudinary Blog\",\"url\":\"https:\/\/cloudinary.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"contentUrl\":\"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA\",\"width\":312,\"height\":60,\"caption\":\"Cloudinary Blog\"},\"image\":{\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/87d542a9f3b665a624072d59748ecce1\",\"name\":\"jeromehidalgosanz\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/21bd8bba3087dbeff42280210669b975ea98b59ca9f427e828f4b59c4bae58dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/21bd8bba3087dbeff42280210669b975ea98b59ca9f427e828f4b59c4bae58dd?s=96&d=mm&r=g\",\"caption\":\"jeromehidalgosanz\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)","description":"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/","og_locale":"en_US","og_type":"article","og_title":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)","og_description":"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs","og_url":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/","og_site_name":"Cloudinary Blog","article_published_time":"2025-08-16T16:44:18+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","type":"image\/jpeg"}],"author":"jeromehidalgosanz","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#article","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/"},"author":{"name":"jeromehidalgosanz","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/87d542a9f3b665a624072d59748ecce1"},"headline":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)","datePublished":"2025-08-16T16:44:18+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/"},"wordCount":609,"publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","keywords":["Questions"],"inLanguage":"en-US","copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/cloudinary.com\/#organization"}},{"@type":"WebPage","@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/","url":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/","name":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)","isPartOf":{"@id":"https:\/\/cloudinary.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage"},"thumbnailUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","datePublished":"2025-08-16T16:44:18+00:00","description":"Whether you\u2019re building a site, designing a product page, or streaming content in an app, understanding how to use a video URL is essential. Video URLs","breadcrumb":{"@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#primaryimage","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","width":1200,"height":628},{"@type":"BreadcrumbList","@id":"https:\/\/cloudinary.com\/blog\/questions\/how-to-use-a-video-url-for-embeds-apis-and-optimized-delivery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudinary.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Use a Video URL (for Embeds, APIs, and Optimized Delivery)"}]},{"@type":"WebSite","@id":"https:\/\/cloudinary.com\/blog\/#website","url":"https:\/\/cloudinary.com\/blog\/","name":"Cloudinary Blog","description":"","publisher":{"@id":"https:\/\/cloudinary.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudinary.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudinary.com\/blog\/#organization","name":"Cloudinary Blog","url":"https:\/\/cloudinary.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","contentUrl":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1649718331\/Web_Assets\/blog\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877\/cloudinary_logo_for_white_bg_1937437aa7_19374666c7_193742f877.png?_i=AA","width":312,"height":60,"caption":"Cloudinary Blog"},"image":{"@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/87d542a9f3b665a624072d59748ecce1","name":"jeromehidalgosanz","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudinary.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/21bd8bba3087dbeff42280210669b975ea98b59ca9f427e828f4b59c4bae58dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21bd8bba3087dbeff42280210669b975ea98b59ca9f427e828f4b59c4bae58dd?s=96&d=mm&r=g","caption":"jeromehidalgosanz"}}]}},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/cloudinary-marketing\/images\/f_auto,q_auto\/v1755360750\/How_to_use_a_video_URL\/How_to_use_a_video_URL.jpg?_i=AA","_links":{"self":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/38305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/users\/112"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/comments?post=38305"}],"version-history":[{"count":1,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/38305\/revisions"}],"predecessor-version":[{"id":38307,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/posts\/38305\/revisions\/38307"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media\/38306"}],"wp:attachment":[{"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/media?parent=38305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/categories?post=38305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudinary.com\/blog\/wp-json\/wp\/v2\/tags?post=38305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}