My dreamweaver CS4 will not colour the syntax for HTML5 objects. However, I have downloaded an add-on through Adobe Exchange which allows automatic suggestions for HTML5. But I would love to have the syntax colouring. Any suggestions?
You don't say which specific extension you installed, but I've tried:
HTML5 Pack for Dreamweaver CS3 and CS4
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2188522
With this installed, I get code coloring for HTML5 tags such as video and audio.
One note: If you have any CS5 application installed, you'll need to open the CS4 (or CS3) version of Extension Manager in order to install the extension. This is due to the latest install of Extension Manager registering itself as the handler for MXP files.
Related
I have VLC Player in Ubuntu and I install Visual Basic 6 using Wine.
Now I want to add VLC Player or any media player to VB6 but I don't know how to do it.
Could you please help me to solve these problem?
There are two ways to use new stuff in legacy VB6:
Stand Alone VB6
Use VB6 WebBrowser control. That control will load the system ie that can load VLC as a plugins.
.Net embedded control.
Create a Windows form .net control that embeds vlc, and compile it with interop.
Load that control dynamically on a vb6 form.
But I don't think that'll work with wine, because:
1) Wine uses gecko as browser.
2) Visual Studio .Net doesn't work on wine
I'm no wine expert, but there should be some sort of windows native video playing api, that's been implemented as an ffmpeg wrapper.
EDIT: Current gecko browser supports html5 video. VLC is not required.
Option Explicit
Private WithEvents m_oDocument As MSHTML.HTMLDocument
Private Sub Form_Load()
Call Me.WebBrowser1.navigate("about:blank")
Set m_oDocument = Me.WebBrowser1.document
m_oDocument.Open
Me.WebBrowser1.document.Write "<!DOCTYPE html> <html><head><meta http-equiv='X-UA-Compatible' content='IE=Edge'></meta></head><body><video width='400' controls><source src='mov_bbb.mp4' type='http://www.w3schools.com/html/mov_bbb.mp4'><source src='http://www.w3schools.com/html/mov_bbb.ogg' type='video/ogg'>Your browser does not support HTML5 video.</video></body></html>"
m_oDocument.Close
End Sub
So in our application, a video preview is displayed after it is uploaded. On my computer, however I'm getting a thumbnail that says 'plugin missing' and upon further inspection it says to install the quicktime plugin.
However, the link provided by Chrome to install the plugin leads to a page on apple's website which says 'quicktime plugins don't need to be installed anymore.'
Some details:
Video Extension: .mov
Codec: H.264, AAC (which may be what is in question here)
Chrome Version: Version 39.0.2171.71 (64-bit)
OSX Mavericks
How do I go about making videos play on my machine, as well as making sure that they show up in the production environment?
Google Chrome has removed support for plugins like Quicktime. Most likely you are also using Chrome 64bit. The Quicktime Plugin was only for 32bit.
HTML5 supports videos out of the box so the browser developers of IE, Firefox and Chrome do not see any more use for such plugins.
I've just finished porting a Firefox XUL extension to Firefox SDK, in response to changes coming in a future version of Firefox that would completely break our legacy code. So far, however, I haven't managed to find any guides or documentation for how to migrate users from the older system to the newer one.
Pointing update.rdf to an xpi file generated by the Firefox SDK hasn't produced the desired affect, and simply dragging the xpi into the addon window creates a side-by-side installation.
Any tips on how to gracefully update users to the new architecture?
Looks like this is not only possible, it's very simple: just copy the ID from the install.rdf of the XUL addin and paste it into the ID field of package.json in the SDK addon folder. From reading the docs, I was under the impression the format of the SDK addon ID mattered, looks like I was mistaken.
I am new to Firefox development and am using the Add-on SDK. I would like to know how to get the following user interface in an extension:
Is this interface a panel? If not, what is it and how do I go about getting this interface in a Firefox addon?
No, this isn't a panel. Your screenshot shows a XUL-based dialog window which is why it looks like a native dialog.
The Add-on SDK uses HTML for its needs however, creating a native-looking dialog is hard there. There is a fork of the Add-on SDK with XUL support but it is outdated and very experimental.
The other option would be building a classic extension. It can simply have a XUL file for the dialog (using <dialog> as root tag) and call window.openDialog() at some point to show it.
I just upgraded my mac to Firefox 3.6, and now neither of my TIFF Viewing plugins work.
in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through quicktime. If I had Quicktime disabled, but my own plugin, AcellViewTIFF enabled, then I would get ViewTIFF viewing the TIFF. Since I'm the author of ViewTIFF, That's how I had it most of the time.
After I upgraded to 3.6, if ViewTIFF is enabled, I just get a blank space. if ViewTIFF is disabled, no matter whether or not Quicktime is enabled, it goes straight to preview.
Has anyone seen this?
(This is programming related because I'm writing AccelViewTIFF, and if the framework for plugins changed, I need to fix it...)
Edit to add:
This is an NPAPI plugin, I've removed or commented out the main, so I don't think that this is a CFM plugin problem.
I looked at Mozilla's "basicplugin" (located in mozilla-1-9-1-f15a2686e9a6/modules/plugin/sdk/samples/basic/mac under the standard mozilla source) and it works. I compared all of my functions to the functions in BasicPlugin, and the only function that it has that I don't is the drawPlugin function, which appears to do the actual work. All equivalent functions have the same interface.
When I remove or disable AccelViewTIFF, Firefox downloads the image and gives it to preview. When I enabled it it does nothing. This tells me that Firefox IS seeing that I have a plugin, but it's not running it for some reason.
There are no errors either in Firefox's error console or in any of the console logs I can see...
any ideas?
For the record, the problem was that this is an OLD plugin that still uses Quickdraw routines. evidently, they didn't make it into 64b, and so they don't work in FF 3.6.
Lets hear it for progress.
Are you using Leopard or Snow Leopard?
TIFF files open fine with the QuickTime 7.6.3.0 plugin with Firefox 3.6.
Go to Firefox -> Preferences -> Applications. Search for "tif" and then you can choose how Firefox handles files with the image/tiff MIME type. Set it to the plugin of your choosing. QuickTime should work (is for me on Snow Leopard).