Sync MediaElement to Slider in Windows Store App - windows

Im developing an app like media player to Windows Store using c#. I use C# But I have a problem .
I want to sync MediaElement to slider. For examle the music in the mediaelement and music is playing. I want to see the position of music in the slide bar. For example if music in the 30th , Sliderbar's value is 30.

I answered a very similar question already. Please take a look at this answer and let me know if that's what you were looking for! If you need more details, please comment.

A msdn tutorial including the implementation of a slider control is provided here. Hope this helps.

Related

How to make thumbnails in wordpress play audio after click through stratus

I probably searched through the entire web but couldn't find any help on this. Before I ask the question I must mention that I am a complete novice in web development.
I went through a lot of websites that enable you to play audio through stratus after clicking on a thumbnail. Although websites like indieshuffle.com and themusicninja do not use stratus, I was wondering how they get their photos to play songs in their audio players.
Similarly, I don't want my thumbnails to link to the post but instead I want people to play the corresponding soundcloud track after clicking on the thumbnail. Also, if it is possible to have play/pause buttons on the thumbnails it will be great.
Of course, I have ajax and stratus as well as the full width audio player installed as plugins.
I am guessing this has to do with embedding the shortcode for the track somewhere in the image.
Please help!!!
since you are complete new your best bet here is an album plugin or something
that will let you attach an image and have a mp3 file to relate to, and be displayed without much knowledge in coding.

Windows phone music player

I am developing a music player using X N A in windows phone.
Here I am using a slider to automatic synchronizing of songs.
Problem is how can i seek song in slider .I am also using timer.
MediaPlayer.PlayPosition=TimeSpan.FromMilliseconds(slider1.Value);
I have tried mediaPlayer.PlayPosition propety in slider mouse left button event but it is saying play position property is read only.So
please help.
This seems practically impossible to do..
Here's the UserVoice request, asking just this.
http://wpdev.uservoice.com/forums/110705-dev-platform/suggestions/2411252-mediaplayer-playposition-should-be-able-to-be-set
There are some other tricks to accomplish this, as explained in this question. (Though it would be an overkill by the look of it.)
XNA MediaPlayer fastforward/rewind

If Steam can map the guide button on the Xbox 360 controller why can't I

I want to map the Xbox Guide button on the Xbox 360 controller.
I've been searching for a possible solution for some time now and from the looks of my google results it seems that the only way to do so is by using a custom driver.
However, I tried using Steam Big Picture mode today and was surprised to see that Valve has managed to achieve this to open the Steam Overlay. So how come I can't find any information on how to do this? Does anyone have any idea of how they've done it?
I've thought of possible solutions, aside from a custom driver, and I wonder if you could read the raw data from the controller? The button must send a signal so it should be possible detect when it's pressed, right?
Any help is much appreciated.
To mark as answered: #luke answered this in the comments with:
Assuming you are using XInput, it appears that use of the Guide button
is undocumented. However, people have figured out that it apparently
sets bit 0x0400 in the button bit flag. More information.

Is there a standard Control for creating an in-app video player?

Im making a videoplayer in a wp7 app. Im using mediaelement to show the video, and sets its source from a url. Functionality i wanted are play/stop-buttons, forwarding/rewinding, a progressindicator (for the progress of the video itself) and show a progressbar when it buffers. I have accomplished all above, using some customized grids, buttons and so on.
I did get some trouble though, which i dont want to bother you with here (its a mess) and which is why im asking the following:
Is there a standard (or downloadable) control for wp7 that does all these things for me and that works perfectly. Ive searched "everywhere" but couldnt find anything. It surprises me that this isnt an easy to use, built in control that is easy to customize, since standard videoplayers are something id guess alot of apps could take advantage of.
Anyone?
Here is a tutorial on how to create a Windows Phone 7 View Model Style Video Player.

Why is video button grayed out in Windows Phone 7 camera chooser task?

I'm wondering why the video capture button is always grayed out (disabled) when using the both the Camera Capture Task and the Photo Chooser Task with ShowCamera = true;?
I've tried to find ways to enable it, but without any success.
I'm developing for Windows Phone 7.5.
Thank you in advance!
It's greyed out because Camera Capture and Photo Chooser both only support single images, not videos.
If you're looking to capture video, take a look on MSDN here:
http://msdn.microsoft.com/en-us/library/hh394041(v=VS.92).aspx
Actually you can :). Here is the tutorial for that:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394041(v=vs.105).aspx
And to download complete sample click here
http://code.msdn.microsoft.com/wpapps/Video-Recorder-Sample-5e800bbf

Resources