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

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.

Related

Render camera preview in Chrome using Native Client SDK

I'm trying to write ppapi plugin for Chrome which will use webcam (show preview and write file). I have installed NaCl sdk with pepper_35.
There available examples in /examples/api/ folder: media_stream_audio and media_stream_video.
The audio example works fine - requests access to microphone and shows some kind of preview.
The "media_stream_video" example must show web-camera video preview, but when I load example on the local web server (with make serve command), there appears red rect, and Chrome asks for the web camera access. When I click “allow” - webcam indicator lights-up, chrome show that web page uses the web camera, and I see the camera settings icon. But the preview doesn't work, there still red rectangle instead.
I checked this on Windows 8.1, Windows 7 and Mac OS X, with five different webcams, and have no idea what can be wrong.
Maybe someone already encountered with the same problem?
Installing the pepper_37(dev) version of NaCl SDK solved the problem. Looks like it is unstable version currently, but it works.

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.

PDF created by PDF4Net missing fields

Does anyone have any idea about this? I modified a pdf file by adding a PDFPushButtonField in PDF4NET. I can see it in Safari or Chrome in windows 7 system. But when I open it in IPAD Safari browser, the button I added is missing.

In Vaadin PDF does not work in popup Window

I am trying to display a PDF in a popup window using Vaadin 6.6.2 and the code as shown in this blog:
http://jcraane.blogspot.com/2010/09/printing-in-vaadin.html
The problem I have is that whenever I close the Window containing the PDF it always hangs the current browser tab in IE 9.
I have tested this in Safari, Firefox, and IE 8 and its works fine. I also know that the problem is related to the embedded PDF as I have tried replacing the embedded PDF with a Vaadin Label and then the popup window closes fine in IE9.
I had a similar problem in Firefox 3.x, I solved it by upgrading to Firefox 4, and upgrading the Adobe plugin.
It seems to me the problem is on the browser/plug-in side.
If you are stuck with that browser/version, try just upgrading the plugin if that's not already on the latest version.

Cocoa WebView SWF

I am trying to load an SWF inside a WebView in my cococa app, it works fine when I load an HTML which references the SWF. But i'd like do load the flash file alone, with no HTML. Is that possible??
Yes.
It's broken in currently-released WebKit (even on Snow Leopard), but last I checked, it was fixed in WebKit nightlies, so it'll work again someday.
I finally found an answer for that. It is not quite a fix, but it can get my app working for now.
Every time swf is loaded it make a call to debugger and XCode stops.
According to this post, I should disable the option "Stop on debugger" at run menu in XCode.
Now my project is up and running.
Thanks!