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 8235527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:50:30+00:00 2026-06-07T18:50:30+00:00

How can I play YouTube videos in a Windows 8 html/javascript app? I have

  • 0

How can I play YouTube videos in a Windows 8 html/javascript app? I have the clip’s id and I just want to play it. Perhaps via html5’s video tag?

I’ve tried the iframe api, but failed to get it to work. I’ve also made a try on the javascript api, but it failed to load javascript from anther location.

Any help on the subject would be very appreciated!

  • 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-06-07T18:50:32+00:00Added an answer on June 7, 2026 at 6:50 pm

    I developed a YouTube class for Windows Phone which gets the MP4 link of a YouTube movie. Maybe you can use this code and start the video app with the MP4 link or set the source of a media element (if existent in Win8)?

    If there’s a way to start the video app with a predefined MP4-URL I can rewrite the code for Windows 8.

    http://mytoolkit.codeplex.com/wikipage?title=YouTube

    UPDATE: I’ve updated the code. Now simply load the URL with this async method:

    var url = await YouTube.GetVideoUriAsync("youtube_id");
    myMediaElement.Source = url.Uri;
    

    myMediaElement is a XAML MediaElement control.

    Check out the whole library from the project’s Subversion repository: http://mytoolkit.codeplex.com

    Update: Sorry it’s C# only, you have to port it to Javascript…

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

Sidebar

Related Questions

I want to play YouTube videos from my iPhone app. I have to tried
Can any one How to play youtube videos on j2me java MIDlet? I want
I'm trying to play a youtube video on my Android app, but I can't
A player: http://www.yvoschaap.com/videowall/ How can you customise the above Chromeless Youtube to have Play/Stop/Pause
I have an android app where in my Main activity I can play music
Can we watch youtube video in android app? I mean if we have link
i have an swf media player which play flv videos but i want it
I'm writing a Titanium app trying to play YouTube videos. The goal is to
I'm using UIWebView to play YouTube videos in an iPad. How can I detect
I need to build a Video Player in android that can play youtube HTML5

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.