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

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.

Related

Bigcommerce product image customization with text change

Currently I am trying to build such customization of product in Bigcommerce Storefront that allows to display image with dynamic text, which was entered in Textbox. That means product image preview should be shown INSTANTLY with new image with written text.
so that the end user will know how the final product will looks like and also same image should go in shopping cart as well.
I know that there is an app on Shopify named as Product Builder.
Is this possible to do it on Bigcommerce?
Thanks in Advance
It's definitely possible with some fairly advanced client-side code. Unfortunately I don't know of any plug and play systems or apps for Bigcommerce that will achieve what you're looking for, but there are a couple ways to get a live updating product preview if you're willing to get your hands dirty.
Here's an example from my site. Click the button under "personalize this item", and you'll see a live preview image like you describe in the modal. Enter some text and change the monogram style and color, the preview image should update pretty quickly every time you change an option. A solution exactly like mine may not be feasible for you, since that site is using a pretty complex React/Redux implementation built on an extensively customized Stencil theme... it's far from a turnkey solution. That said, you could implement something similar without needing a totally custom app.
The image preview itself in the example above is powered by IMGIX.com. They offer a great service at a fantastic price. Basically my system translates the user-selected Bigcommerce option into a URL string per IMGIX's URL-based API. Displaying the live preview is then as simple as changing the image's src attribute to the corresponding IMGIX URL on every input change. I do this in a React component that consumes a Redux store, but something similar could definitely be done in the framework of your choice, or plain old vanilla JavaScript. Cloudinary offers a similar (maybe even a little bigger) feature set to IMGIX, but I found IMGIX to be a bit faster, and the pricing was considerably less for my usage.
You could also write something that uses the HTML5 canvas to overlay text and effects on an image, and thereby avoid using a third-party service. I found such a solution to be way more work and way more taxing on the client-side device, but it'd definitely be another way to skin the proverbial cat.
There may be other viable solutions out there, but the above has been my experience in implementing something similar to what you're looking for on Bigcommerce. I hope this is helpful!

My app file size is already 32Mb

I'll start off by saying I am an absolute beginner. I've been following a very good tutorial on YouTube and reading a few books. So far, I have a working app which consists of a splash screen, load up music and then a menu with 6 buttons. I have got these six buttons opening up a new view. I have created a new Java class and a new layout.xml for each new view. Is this right? Basically, all I want to know is how to make an efficient app which allows me to use my 6 buttons to take me to another set of buttons as a sub-menu and then inside those buttons I want to display the information using text and videos and audio. It's a tutorial app. Once I know how to do this then I should be able to continue developing within the app. Any help or ideas please? Since my app is already so large, I'm guessing I've done something wrong, but as I say, the app is working at least.
I had a similar problem. My app was 40MB. I found out my music files were too big. I was using wav files. When I converted them to ogg files, my app went down to 14MB.
This website was useful: http://media.io
The buttons and extra activities probably don't take up that much space. I'm guessing it's the music and maybe any images that you have.

how do i avoid showing layout in internet explorer mobile

I honesty don't know how to put this. In mango version of windows phone internet explorer shows a black semi transparent layer when a link is tapped how can I avoid this.
Well, I do clearly understand what you are telling, but unfortunately, you can't avoid that. It is simply an indication that the link has been clicked. For usability sake.
This is for existing web-pages/sites. But if you are trying to develop an web-app using PhoneGap or something else, then you can change these links as JavaScript/jQuery events instead, and that should probably avoid it.

Is there a way to display HTML in an XNA game on WP7

Is there a way to display a browser control over the top of an XNA game on Windows Phone 7?
Basically I need to display some HTML, and then allow the user to return to the game.
So it can be full-screen if need be. It could even involve switching to Internet Explorer, if there's a way to return to the game from IE?
Is this possible?
It was announced that XNA and Silverlight would be available together in the same app starting with Mango update.
That might allow you to get what you're after.
I am not certain It would be nice if we could pop an html screen like we do on the iPhone. I know if you embed an url you can open ie. but as far as I know you can only get back to your game via the hardware back button.
You are not able to directly display HTML content in your XNA application due to the differences in the UI core. You are able, however, to invoke the WebBrowserTask. All you need to do is add a reference to Microsoft.Phone and then add a using statement for Microsoft.Phone.Tasks.

How to make or use a standard Image Viewer for WP7

I want to make an app that shows pictures. But I want to be able to zoom in and out with gestures. I fixed this by including a toolkit into my project. But my actual question is, can I use or is there a control that's already created for me to show pictures like the picture library of the WP7 phone itself. I thought there wasn't but the Facebook app has a similar way of showing the pictures. Did Facebook rewrite the whole thing or is there a control somewhere that someone made?
The SlideView control in Telerik's RadControls for Windows Phone sounds like what you're looking for.
Have you tried a MultiScaleImage control? It's designed to work with multiple layers, but if you only specify one layer, it might suit what you're trying to do.

Resources