tagged [media]

How to play a WPF Sound File resource

How to play a WPF Sound File resource I am trying to play a sound file in my WPF application. Currently I have the following call: Now if I specify `Media/movepoint.wav` as build action `Content` a

16 Aug at 15:23

Interact with "system-wide" media player

Interact with "system-wide" media player I want to develop a music app for Windows 10 and I'm curious about the interface provided by Groove Music next to the volume bar. I've tried Googling to get mo...

What is correct media query for IPad Pro?

What is correct media query for IPad Pro? I have these two but they are not working. I'm simulating in Chrome ``` /* Landscape*/ @media only screen and (min-device-width: 1024px) and (max-device-wid...

26 Feb at 07:15

WMPLib: player.mediaCollection.getAll().count is always 0

WMPLib: player.mediaCollection.getAll().count is always 0 I am attempting to write code that reads each item from the user's Windows Media Player library. This code works for the majority of users, bu...

21 Mar at 20:1

Bootstrap 3 breakpoints and media queries

Bootstrap 3 breakpoints and media queries On the [Bootstrap 3 media queries documentation](https://getbootstrap.com/docs/3.4/css/#grid-media-queries) it says: > We use the following media queries in o...

CSS media query to target iPad and iPad only?

CSS media query to target iPad and iPad only? Hi I am working with multiple tablet devices, iPad, Galaxy Tab, Acer Iconia, LG 3D Pad and so on. - - - I want to target iPad only using CSS3 media query....

25 Nov at 15:58

Android media streaming/incremental download question

Android media streaming/incremental download question I'm currently developing an application that uses Android's MediaPlayer setDataSource(url) method to play SHOUTCast streams. I'm in the process of...

18 Mar at 17:57

Windows Phone 8.1 Media Capture Orientation C#

Windows Phone 8.1 Media Capture Orientation C# I'm converting an app to use the new Media Capture api in Windows Phone 8.1. When I capture a photo using the file is saved and the photo orientation is ...

Embedding Windows Media Player for all browsers

Embedding Windows Media Player for all browsers This question was written in 2008, which was like 3 internet ages ago. If this question is still relevant to your environment, please accept my condolen...

11 Dec at 16:39

How to set portrait and landscape media queries in css?

How to set portrait and landscape media queries in css? Here is my media query: ``` @media screen and (min-device-width: 768px) and (max-device-width: 1824px) and (orientation : portrait){ .hidden-de...

11 Nov at 09:9

$(window).width() not the same as media query

$(window).width() not the same as media query I am using Twitter Bootstrap on a project. As well as the default bootstrap styles I have also added some of my own I am also using jQuery to change the o...

How can I detect Internet Explorer (IE) and Microsoft Edge using JavaScript?

How can I detect Internet Explorer (IE) and Microsoft Edge using JavaScript? I've looked around a lot, and I understand that there's a lot of ways to detect internet explorer. My problem is this: I ha...

Convert audio files to mp3 using ffmpeg

Convert audio files to mp3 using ffmpeg I need to convert audio files to mp3 using ffmpeg. When I write the command as `ffmpeg -i audio.ogg -acodec mp3 newfile.mp3`, I get the error: ``` FFmpeg versio...

13 May at 07:14

CSS media queries for screen sizes

CSS media queries for screen sizes I am currently trying to design a layout which will be compatible for multiple screen sizes. The screen sizes I am designing for are listed below: 1. 640x480 2. 800x...

15 Jan at 05:35

System.NotSupportedException when trying to create an asset

System.NotSupportedException when trying to create an asset I am trying to use the `Azure MediaService API` along with the `Azure Storage API` in an `API Service` hosted in `Azure`. The user sends the...