Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6971469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:50:38+00:00 2026-05-27T16:50:38+00:00

Am tasked with building an ASP.NET 4.0 Web Forms site to support playback of

  • 0

Am tasked with building an ASP.NET 4.0 Web Forms site to support playback of YouTube videos. Will build it as a HTML5 site but am trying to weave my way through the maze of video formats/codecs.

I do not want to use plugins and I want it to have cross-browser support:

  • IE9/IE8/IE7
  • Firefox
  • Chrome
  • Safari

Majority of traffic will be IE. For the other browsers, latest versions will suffice.

I’m looking to embed the videos directly. Really just need to know how to cater for the different browsers without use of plugins (incl. Google Frame).

Can anyone provide some guidance/direction?

UPDATE

Per Stilgar’s answer, there probably will be no advantage gained to creating this as HTML5

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:50:39+00:00Added an answer on May 27, 2026 at 4:50 pm

    If you only need to embed videos from youtube you don’t need to care about codecs and browser support. You only need to render the Youtube embed code on your page which is just an iframe. The user can get the html by clicking share > embed on youtube or you can generate it programatically when the user pastes an URL to an youtube video. The code looks like this:

    <iframe width="560" height="315" src="http://www.youtube.com/embed/Kt82xgsm9N8" frameborder="0" allowfullscreen></iframe>
    

    If you do this youtube will provide a player for the user. The player will be based on the user’s settings IN YOUTUBE. For example if the user has selected HTML5 videos on youtube he will get an HTML5 player for his browser. If the user has opted in for Flash or is using an older browser youtube will serve the Flash player. Also some videos (those with ads) are only available with Flash.

    Basically even if you want to do something else you can’t. That’s how Youtube works and you want to embed their videos not serve your own. However I don’t see why you will want something different from what they provide. They make their best to support every browser in the best way.

    And just FYI the video tag is supported on the latest version of all browsers and is not supported in IE8 and IE7. There are two codecs (with 2 formats) that are important right now these are H.264(mp4) and VP8 (webm)
    Safari (including Safari on iOS) and IE9+ (including IE on Windows Phone) support H.264
    Chrome, Firefox and Opera support VP8
    If you want to support all browsers via the video tag you need to provide both encodings and encode the video twice.
    If you want to support IE7 and IE8 your only option is a plugin (be it Flash, Silverlight or just regular old Media Player Plugin that comes by default)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just been tasked with building a web application using ASP (.net) and am
So my company has an ASP.NET web app, targeting .NET 3.5. I am tasked
I'm tasked to create a web application. I'm currently using c# & asp.net (mvc
I've been tasked with converting a one-page ASP.NET MVC 3 web app to ASP.NET
I've been tasked with improving the performance of an ASP.NET 2.0 application . The
I have been tasked with building a new web project from scratch, with the
I am tasked with building a process which will compensate for replication delays on
Good day all, I am tasked with building a slider for our site. Here
I've been tasked with building a site for a client. They want it to
We have an ASP.Net Web Application that is running in an IIS Web-Garden--which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.