{"id":6865,"date":"2023-05-03T14:15:48","date_gmt":"2023-05-03T18:15:48","guid":{"rendered":"https:\/\/carleton.ca\/brightspace\/instructors\/?page_id=6865"},"modified":"2026-03-12T17:34:52","modified_gmt":"2026-03-12T21:34:52","slug":"embed-link-creator","status":"publish","type":"page","link":"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/","title":{"rendered":"Embed Link Creator"},"content":{"rendered":"<p><span data-contrast=\"auto\">The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P or EON XR.<\/span><\/p>\n<p><span data-contrast=\"auto\"><a href=\"https:\/\/carleton.ca\/kaltura\/mediaspace\/\">Kaltura Mediaspace<\/a> video links are normally incompatible with most external learning tools. This Embed Link Creator converts the URL link into a format that is usable.<\/span><\/p>\n<h2>Using the Embed Link Creator<\/h2>\n<table style=\"height: 24px; width: 100%; border-collapse: collapse; border-style: solid; border-color: #dcdcdd;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 100%; background-color: #f5f5f5; height: 24px; border-style: solid; border-color: #dcdcdd;\"><strong>NOTE: <\/strong>The Embed Link Creator will only work if the video is published as Unlisted on Mediaspace. For more information on how to publish videos as Unlisted, please see the Kaltura Mediaspace support resource on <a href=\"https:\/\/carleton.ca\/kaltura\/publish-your-media\/#sect2.1\">making a media item Unlisted.<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li><span data-contrast=\"auto\">Navigate to the desired Mediaspace video you wish to use<\/span><\/li>\n<li><span data-contrast=\"auto\">Publish the video as Unlisted. See our instructions on <a href=\"https:\/\/carleton.ca\/kaltura\/publish-your-media\/#sect2.1\">Publishing videos as Unlisted<\/a> for more information.<\/span><\/li>\n<li><span data-contrast=\"auto\">Copy the full URL of the Mediaspace video from the URL bar at the top of the browser. For more information on how to find this URL, see the support resource on <a href=\"https:\/\/carleton.ca\/kaltura\/publish-your-media\/#sect2.2\">sharing a link to your media<\/a>.<br \/>\n<\/span><\/li>\n<li><span data-contrast=\"auto\">Paste the URL into the Embed Link Creator &gt;\u00a0<a href=\"#urlgenerator\">Mediaspace URL input box<\/a> below step 6<\/span><\/li>\n<li><span data-contrast=\"auto\">Select <\/span><b><span data-contrast=\"auto\">Create New URL<\/span><\/b><span data-contrast=\"auto\"> and the newly converted embeddable URL will appear. <\/span><br \/>\n<span data-contrast=\"auto\">This new URL will be automatically copied to the clipboard and can be pasted into any content creation tool.<\/span><\/li>\n<li><span data-contrast=\"auto\">If the video has captions, download them from Mediaspace using the links below the <strong>Download the caption file<\/strong> heading. More information on captions can be found on the <a href=\"https:\/\/carleton.ca\/kaltura\/captions-2\/\">captions support page<\/a>. The caption file (.VTT) must be uploaded to the external learning tool separately from the video.<\/span><\/li>\n<\/ol>\n<p>If you require any assistance or have questions about this process, reach out to the TLS Support team: <a href=\"http:\/\/tlssupport.carleton.ca\">tlssupport.carleton.ca.<\/a><\/p>\n<h2><a id=\"urlgenerator\"><\/a>Embed Link Creator<\/h2>\n<div class=\"gform_wrapper\">\n<form id=\"generate_url_form\">\n<div class=\"gform_body\">\n<ul class=\"gform_fields top_label form_sublabel_below description_below\">\n<li class=\"gfield\"><label class=\"gfield_label\" for=\"url\">Mediaspace URL:<\/label>\n<div class=\"ginput_container ginput_container_text\"><input id=\"url\" class=\"ginput_container ginput_container_text\" style=\"width: 100%;\" title=\"Enter the URL from Mediaspace here\" type=\"text\" \/><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"gform_footer top_label\"><input class=\"gform_button button\" title=\"Create a URL that can be embedded or downloaded\" type=\"submit\" value=\"Create New URL\" \/><\/div>\n<\/form>\n<div id=\"div_newurl\" style=\"display: none;\">\n<div class=\"gform_body\">\n<ul class=\"gform_fields top_label form_sublabel_below description_below\">\n<li class=\"gfield\"><span class=\"gfield_label\">New Embeddable URL:<\/span>\n<div class=\"ginput_container ginput_container_text\"><input id=\"newurl\" class=\"ginput_container ginput_container_text\" style=\"width: 100%;\" readonly=\"readonly\" type=\"text\" \/><\/div>\n<\/li>\n<\/ul>\n<\/div>\n<div class=\"gform_footer top_label\"><input id=\"copyUrlButton\" class=\"gform_button button\" type=\"button\" value=\"Copy New URL\" \/><\/div>\n<\/div>\n<\/div>\n<div id=\"div_subs\" style=\"display: none;\">\n<p><strong>Download the caption file:<\/strong><\/p>\n<ul id=\"ul_stList\"><\/ul>\n<\/div>\n<p><script>\nclass urlGenerator {\nconstructor(){\nthis.hasSubs = false;\nvar head = document.getElementsByTagName('HEAD')[0];\nlet sheets = ['https:\/\/carleton.ca\/tls\/wp-content\/plugins\/gravityforms\/css\/formreset.min.css?ver=2.4.18',\n'https:\/\/carleton.ca\/tls\/wp-content\/plugins\/gravityforms\/css\/datepicker.min.css?ver=2.4.18',\n'https:\/\/carleton.ca\/tls\/wp-content\/plugins\/gravityforms\/css\/formsmain.min.css?ver=2.4.18',\n'https:\/\/carleton.ca\/tls\/wp-content\/plugins\/gravityforms\/css\/readyclass.min.css?ver=2.4.18',\n'https:\/\/carleton.ca\/tls\/wp-content\/plugins\/gravityforms\/css\/browsers.min.css?ver=2.4.18'];\nfor(const url of sheets){\nvar link = document.createElement('link');\nlink.rel = 'stylesheet';\nlink.type = 'text\/css';\nlink.href = url;\nhead.appendChild(link);\n}\nlet form = document.getElementById('generate_url_form');\nlet copyUrlButton = document.getElementById('copyUrlButton');\nlet self = this;\nform.onsubmit = function(event){event.preventDefault(); self.submitForm();}\ncopyUrlButton.onclick = function(){self.copyNewUrl()}\n}\nsubmitForm(){\ndocument.getElementById('div_newurl').style.display = 'none';\nlet newurl = document.getElementById('newurl');\nnewurl.value = \"\";\nconst XHR = new XMLHttpRequest();\nlet data = 'url=' + encodeURIComponent(this.getUrl());\nlet self = this;\nXHR.addEventListener('load', function(event){\nlet response = event.target.responseText;\nif(response.indexOf('Error') < 0){ response = JSON.parse(response); self.hasSubs = response.subtitles.length > 0; self.setUrl(response); setTimeout(function(){self.copyNewUrl()}, 100);\n} else { alert(response); }\n});\nXHR.open('POST', 'https:\/\/tls.carleton.ca\/kaltura\/h5p.php');\nXHR.setRequestHeader('Content-Type', 'application\/x-www-form-urlencoded' );\nXHR.send(data);\nreturn false;\n}\nsetUrl(response){\nlet partnerId = 2011531;\nlet flavorParamId = 487071;\nlet URL = \"https:\/\/www.kaltura.com\/p\/\" + partnerId + \"\/sp\/\" + partnerId + \"00\/playManifest\/entryId\/\" + response.entryId + \"\/format\/url\/protocol\/https\/flavorParamId\/\" + response.flavor + \"\/video.mp4\";\nif(response.subtitles.length > 0){\nlet ul_stList = document.getElementById('ul_stList');\nul_stList.innerHTML = \"\";\nresponse.subtitles.forEach(function(sub,i){\nlet li = document.createElement(\"LI\");\nlet a = document.createElement(\"A\");\na.href = sub.url;\nvar aText = sub.label;\nif(response.subtitles.length > 1 && sub.isDefault == 1){aText += ' (Default)'}\nvar textnode = document.createTextNode(aText);\na.appendChild(textnode);\nli.appendChild(a);\nul_stList.appendChild(li);\n});\n}\ndocument.getElementById('newurl').value = URL;\ndocument.getElementById('div_subs').style.display = response.subtitles.length > 0 ? 'block' : 'none';\ndocument.getElementById('div_newurl').style.display = 'block';\nreturn true;\n}\ncopyNewUrl(){\nlet source = document.getElementById('newurl'); source.select(); document.execCommand('copy');\nlet alertString = \"The embeddable URL for your video has been copied to your clip board.\";\nif(this.hasSubs){\nalertString += \"\\nYou will need to download the caption file (VTT) and upload it separately.\";\n}\nalert(alertString);\n}\ngetUrl(){\nlet entryId = \"\";    \nlet pattern = \/\\\/([0-9]+_[a-z0-9]+)[\\\/]?$\/i;\nlet matches = document.getElementById('url').value.trim().match(pattern);\nif(matches == null || matches.length != 2){}else{entryId = matches[1];}\nreturn entryId;\n}\n}\nlet urlGenInstance = new urlGenerator();\n<\/script><\/p>\n<h2>Additional Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/carleton.ca\/brightspace\/instructors\/adding-h5p-interactive-content\/#sect3\">Creating H5P content<\/a><\/li>\n<li><a href=\"https:\/\/mediaspace.carleton.ca\/\">Carleton Mediaspace<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P or EON XR. Kaltura Mediaspace video links are normally incompatible with most external learning tools. This Embed Link Creator converts the URL link into a format that is usable. Using the [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"","_links_to":"","_links_to_target":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Embed Link Creator - Instructor Support<\/title>\n<meta name=\"description\" content=\"The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/\",\"url\":\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/\",\"name\":\"Embed Link Creator - Instructor Support\",\"isPartOf\":{\"@id\":\"https:\/\/carleton.ca\/brightspace\/instructors\/#website\"},\"datePublished\":\"2023-05-03T18:15:48+00:00\",\"dateModified\":\"2026-03-12T21:34:52+00:00\",\"description\":\"The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P\",\"breadcrumb\":{\"@id\":\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/carleton.ca\/brightspace\/instructors\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Embed Link Creator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/carleton.ca\/brightspace\/instructors\/#website\",\"url\":\"https:\/\/carleton.ca\/brightspace\/instructors\/\",\"name\":\"Instructor Support\",\"description\":\"Carleton University\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/carleton.ca\/brightspace\/instructors\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Embed Link Creator - Instructor Support","description":"The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P","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:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/","url":"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/","name":"Embed Link Creator - Instructor Support","isPartOf":{"@id":"https:\/\/carleton.ca\/brightspace\/instructors\/#website"},"datePublished":"2023-05-03T18:15:48+00:00","dateModified":"2026-03-12T21:34:52+00:00","description":"The Embed Link Creator can convert Kaltura Mediaspace video links (URLs) into a format that is compatible with other educational technologies, such as H5P","breadcrumb":{"@id":"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/carleton.ca\/brightspace\/instructors\/embed-link-creator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/carleton.ca\/brightspace\/instructors\/"},{"@type":"ListItem","position":2,"name":"Embed Link Creator"}]},{"@type":"WebSite","@id":"https:\/\/carleton.ca\/brightspace\/instructors\/#website","url":"https:\/\/carleton.ca\/brightspace\/instructors\/","name":"Instructor Support","description":"Carleton University","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/carleton.ca\/brightspace\/instructors\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"acf":{"stick_to_top":false},"_links":{"self":[{"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/pages\/6865"}],"collection":[{"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/comments?post=6865"}],"version-history":[{"count":4,"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/pages\/6865\/revisions"}],"predecessor-version":[{"id":9422,"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/pages\/6865\/revisions\/9422"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/brightspace\/instructors\/wp-json\/wp\/v2\/media?parent=6865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}