• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Embed YouTube Video on Rackspace Cloud Files HTML Page

By Abhishek Ghosh November 5, 2012 8:39 am Updated on November 5, 2012

Embed YouTube Video on Rackspace Cloud Files HTML Page

Advertisement

Embed YouTube Video on Rackspace Cloud Files HTML Page even with HTTPS URL using Object Parameter and YouTube Player API’s functions.Playing on Cloud made easy. If you are wondering what we want to doing in this Embed YouTube Video on Rackspace Cloud Files guide, read this tutorial on how to create Cloud Files Hosted Music Player of Your Own where we used jPlayer or Guide on Rackspace Cloud Files and Bootstrap. The advantage to embed YouTube Video on Rackspace Cloud Files HTML Page is that – you need not to host the video or re upload it on Cloud Files. Additionally, you can basically use the features of YouTube. There are basically two parts.

 

Embed YouTube Video on Rackspace Cloud Files : The Cloud Files Part

 

It has been said so many  times, just the link to the tutorial goes here.

 

Embed YouTube Video on Rackspace Cloud Files : The YouTube API Part

 

This is actually the difficult part but we will iron it out to make it very easy. You can read the full documentation to get dizzy :

Advertisement

---

 

Vim
1
https://developers.google.com/youtube/flash_api_reference

For example you want to show your video already on YouTube like ours one :

Vim
1
http://www.youtube.com/watch?v=tR6xen8iZBM&feature=plcp

The basic HTML you will need is :

 

Vim
1
2
3
4
5
6
7
<object width="640" height="360">
<param name="movie" value="https://www.youtube.com/v/ID?version=3"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="https://www.youtube.com/v/ID" type="application/x-shockwave-flash"
allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed>
</object>

 

ID is unique and (basically I have forgotten) probably requires apply for the ID thing as YouTube partner. It is here on URL :

 

Embed YouTube Video on Rackspace Cloud Files HTML Page

 

For a working example with minimalistic player which will show Ads and Logo overlay will be :

 

Vim
1
2
3
4
5
6
7
8
9
<center>
<object width="640" height="360">
<param name="movie" value="https://www.youtube.com/v/ya1lSQp3KQU?version=3"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="https://www.youtube.com/v/ya1lSQp3KQU" type="application/x-shockwave-flash"
allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></embed>
</object>
</center>

 

So, the next step is to copy paste it in any text editor (in my case this is the code with proper ID) and save it as anyname.html file then it will work fine as a simple HTML file. Just upload it to Cloud Files and change the POST info (as written in the linked guide), I will get this thing :

 

 https://91c3c05e204edecb5349-d31753e213812e3a47f7a92bbc27e375.ssl.cf2.rackcdn.com/youtube.html

 

And a free SSL certificate with no mixed content error :

 

Embed YouTube Video on Rackspace Cloud

 

This is what we said as an excerpt – Embed YouTube Video on Rackspace Cloud Files HTML Page even with HTTPS URL using Object Parameter and YouTube Player API’s functions.Playing on Cloud made easy. You can make it more complex, but this is the easiest example. It actually takes around 1.17 seconds to load :

 

Vim
1
http://www.webpagetest.org/result/121105_FS_1XQ/1/details/

It is on 100% CDN, fully scalable platforms.

Abhishek-Ghosh
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Embed YouTube Video on Rackspace Cloud Files HTML Page

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

  • Streaming Video and Audio from Server using VLC Player Video Guide

    Streaming Video and Audio from Server using VLC Player Video Guide shows how to configure Rackspace Cloud Server with VLC Player to stream your Audio or Video.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Market Segmentation in BriefSeptember 20, 2023
  • What is Booting?September 18, 2023
  • What is ncurses?September 16, 2023
  • What is JTAG in Electronics?September 15, 2023
  • iPhone 15 Pro Max Vs Samsung Galaxy S22/S23 UltraSeptember 14, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy