How can I upload CRX/NEX extension in opera gallery with certain ID? - opera-extension

I'd like to upload CRX/NEX extension in opera gallery with certain ID. In Google Chrome gallery I can upload a zipped extension and add "chrome.pem" file in archive. Is there similar solution for opera gallery?

Yes, there is a similar solution for the Opera addons gallery as well. Check out http://dev.opera.com/extension-docs/tut_conversion.html for info on this.

Related

Safari 12 Extensions and NativeMessaging

With the release of Safari 12, Safari will no longer support NPAPI plugins. My use case is to be able to launch a java application located on a client from a browser extension which I can currently do in Chrome and Firefox with NativeMessaging. From my reasearch, I do not see a way to do this in Safari 12. The closest I can see is their "Safari App Extension" project but this looks like it requires that you package up your native app with the extension and distribute it through the App Store. I am not at all a Mac developer so I am looking for some advice. Does anyone know if Safari supports my use case?
We can create a extension that will download our dmg app with the native code.And run the dmg app after it is getting downloaded.
Then we can place our extension in the safari extension gallery.
We have implemented it in the similar way where our extension look for the json file which in turns download the DMG app that we have kept in the server.

file name grayed out in browse window when try to upload video file to my website in mac safari

when user click on browse bottom and try to upload video file to the site (MP4 for example) from mac safari the file grayed out (disabled) and it can't be selected.
it happens only for video files and only in mac Safari.
in others browsers in work good.
when I try to upload MP3 file it also work.
I experience this "bug" on a daily basis with Safari. The bug has not been patched or fixed and still exists today with Safari 13.0.2 and macOS Catalina.
The workaround is this. When the file selection window opens, control-click on the file and select Quick View from the menu. Then go back to the file selection window and you will be able to click on it for upload. Ridiculous that this hasn't been fixed by Apple.
select the file (either jpeg or png) and rename to filename.jpeg><filename.png> so the file type remain same.
worked for me.
Upgrade safari to the latest version since this was a bug that mac had which they patched in the most recent version since others had the problem too.

embedding a local pdf file in google chrome packaged apps

I'm trying to use the embed tag in a chrome packaged app to display a pdf document included in the distribution. The renderer displays "Looking for plugin...". Is the chrome pdf viewer supported in packaged apps or is the problem with the embed tag?
<embed src="document.pdf#page=33" type="application/pdf">.

PhoneGap InAppBrowser not loading pdf

I am using PhoneGap InAppBrowser to load pdf in my app. It is loading pdf in IOS, but there is no location bar shown, and on Android pdf is never loaded.
Here is my code to load pdf
iabRef = window.open('sample.pdf', '_blank', 'location=yes');
Not sure if this counts as an answer, but I believe this is a known bug. It is marked as fixed in the 2.4.0 RC here.
Ran into the same with 2.4.0. I switched to using the _system browser in my open call. It's not ideal, as it opens a browser that simply downloads the file, but at least it works.

Howplay mp4 songs using NAudio

Can we play mp4 songs using NAudio?
Please provide some code to play mp4 songs
I need a c# code that will help me play mp4 songs
You can play .mp4 files using NAudio, there is a demo in the official page.
Donwload the Demo-Apps and look for the "Media Foundation Demo". The C# code of the demo can be found at the Source Code of NAudio.
Link to Demo-Apps
Link to Source Code
The implementation is in the WasapiOutGuiThread class:
WasapiOutGuiThread : IWavePlayer
Update: NAudio can now play MP4 files using the MediaFoundationReader assuming you have the appropriate codecs installed. This works on Windows Vista and above, and if you are running Windows Server you may need to have the "Desktop Experience" installed.
Alternative approaches would be to see if the WPF Media Element can play it, or using the Windows Media Player ActiveX control (on an OS that can play MP4s).