DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone >

Problem with Metro apps - MediaElement and file paths

Denzel D. user avatar by
Denzel D.
·
Nov. 20, 11 · · Interview
Like (0)
Save
Tweet
1.22K Views

Join the DZone community and get the full member experience.

Join For Free

Recently Patrick Klug put together a list that the current release of the Metro (read: .NET 4.5) Framework has when it comes to developing and porting .NET applications. Even though the problems mentioned usually have some sort of a workaround (or a dirty hack), it reminded me that I encountered one a different limitation that will fit just well in that list - the ability to reference content directly in a MediaElement through an absolute path.

How to see it?

Create a new Metro application and put a MediaElement inside your main page. Nothing too complicated by this point. Your XAML should look somewhat close to this:

 

app

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Java Outsourcing, a Strong Business, and Management Approaches
  • Servlets Listeners Introduction and Examples
  • Top 11 Cloud Platforms for Internet of Things (IoT)
  • Troubleshooting Memory Leaks With Heap Profilers

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo