Displaying a Video in Wistia using jxbrowser - jxbrowser

I am trying to display a movie that I am hosting on Wista in a com.teamdev.jxbrowser.chromium.Browser in Eclipse with SWT.
The movie in Wistia has its own controls. This is the URL:
https://fast.wistia.net/embed/iframe/lpvu51xcig#?fullscreenButton
The movie displays fine if the above is typed in a normal web page. If I run it through:
_browser = new Browser(BrowserType.LIGHTWEIGHT);
_browserView = new BrowserView(_browser);
_canvas.setScene(new Scene(_browserView));
And then bring it up in SWT, I lose the lower movie controls and then when I click on the movie, itthen pops up a Save dialog and tries to save out this file name: 78d1a41ef6ea7d38a69c0753b60c3f492c2737f7.bin
Any help or ideas would help.
Thanks
Chris

It seems that video you are trying to play was encoded with proprietary codecs. JxBrowser does not support proprietary codecs by default. How to obtain build with codecs you can find using the following link: https://jxbrowser.support.teamdev.com/support/solutions/articles/9000013050-mp3-mp4-h-264

Related

Disable toolbar or right-click when viewing embedded PDF online - is this possible?

I have a WordPress blog that has a hyperlink to a PDF report. The user clicks the link and the report PDF opens up in another tab. When it opens up in another tab it uses whatever PDF software is on the local machine (e.g. for me it uses Adobe Reader to view the PDF online).
Is there any way at all that the ability to then select the PDF text, right-click, Copy and then Paste it in to a Word document or such (effectively stealing the information) can be stopped in some way?
On the same page that has the highlighted text mentioned we also have a link to download the entire report which is said PDF. When this is done, because the PDF was secured in Acrobat before being uploaded to WordPress if someone tries to edit the text then they cannot as the restrictions are in place - but why are the restrictions not in place when the PDF is viewed online?
Any assistance or advice on how to protect the PDF contents when viewed online (I realise it may not even be possible but I am open to suggestions) would be greatly appreciated.
You can start by modifying the security properties on the document itself. I'm not sure if you can do this with Adobe Reader, but I know you can do it with Acrobat Pro. Here's an article that describes how to disable copy/paste, printing, etc. etc. I tested in IE8, FF, and Chrome -- it looks like the permissions are honored.

JW player. on click getting a window asking open or save file

I have two applications that play video. in one of them the JWplayer plays the video as it should , and on load, the video plays by itself.Thats what i need exactly
I'm doing the same process with the second application, but the thing is when it loads the player , first of all i cant see the control bar, second it doesnt play the video. and third when i click the play button. it opens a dialog asking me if i want to open or save the file, but this isnt what i need.all i need is to play the video like in the first application.
Why is it behaving like this ?
thanks all
One more thing, the second application is on a machine that hasnt a media player,
does this have any effect on the player.swf ??? I can see the player and the play button thou. but just wondering ...
Check whether your iis has the mime type of the video file you are trying to play.
If not add it as follows,
File extension: .mp4
Mime Type: video/mp4
After that restart iis and browse the site again...
Note: Search for the exact mime type for the file
Hope this will help you...

Play audio online in ASP.Net website

i need to play audio online in asp.net website
My requirement is
users will be able to browser the audio file using file upload control and two button will be displayed 'Play' and 'Stop'.
site should have the capability to play audio file in any format.
Please share any links or code to achieve this.
Thanks!
Look into these links. They may help.
http://forums.asp.net/t/1303198.aspx
http://www.dotnetspider.com/resources/5014-Play-Audio-File-Wav.aspx
http://www.dotnetspider.com/resources/22231-Play-audio-files-asp-net.aspx
http://www.vbdotnetheaven.com/UploadFile/scottlysle/PlaySoundsInASPX09032006083212AM/PlaySoundsInASPX.aspx
Not most appropriate but worth a thought
you can try embedding a silverlight element..
In silverlight you can import the audio file to project
and then can just drag and drop "media element" set source.
drag and drop buttons play and pause..
play : mediasource.play();
pause : mediasource.pause();
voila done.. Its easy to do all this in sileverlight..

Multiple file upload with preview

Is there any good control or plug-in for uploading multiple photos with preview? As far as I understand it is impossible to preview photo on local computer using just JavaScript. So it has to use Flash or Java.
Thanks, also, I use ASP.NET.
Wait, do you mean show it in a browser window before starting the upload? So does the file have a URI? (Hint: file:///c/users/public/somefile.png is a URI) You can always just link it into an image tag on their browser session.
Now, will a browser let you link a file:/// for image? That I've not tried, but you should; at least you'll learn something from it when you do try.
But using this, there's no reason you can't use a lightbox style image viewer with the local URI.
You could also make use of silverlight 4. If you're looking for something already written you might try using the upload control from gallery which much require some hackery or if you have money to burn then telerik have an upload control but I don't believe it supports previews. This http://www.aurigma.com/Products/ImageUploader/ also looks nifty.

Image preview in Flex

I am working on an image management application. We have an Adobe AIR client talking to a WAMP server. The MySQL DB stores the images as blobs.
We have an image search feature. Upon searching, I am displaying the results as XMLList in a popup window and provided a download button. Downloads work fine. I also want to add a preview button to the popup.
Please let me know how can I code this. Without having the file on the client, I cannot preview. But when I use save() method, the os dialog opens up. Anything to be done on the PHP side?
Please help.
Regards
Jad.
Don't you mean to display an Image? Wouldn't the normal work? Of course, for performance issues, your PHP code must render smaller images (thumbnails).
Correct me if wrongly understood your question. :(

Resources