I'm glad you got it working; I just tried the Release version and that works for me. Perhaps you need to clean all targets and rebuild (not sure why, but that sometimes fixes random runtime problems when I'm using Xcode and I've been developing and debugging for a while).
On Oct 23, 2006, at 10:52 AM, Shalini Kamala wrote: It now seems to work in Safari ;-) Thank you !! Only change I did was to build a debug version, not sure if that makes any difference, it shouldn't It doesn't work in Firefox, I get a crash. Should I wait for the new firefox release(2.0) ? Thanks! Shalini Rudi Sherry wrote on 10/23/2006, 10:33 AM:
Can you debug it and find out if the plugin's function are being invoked? Set a breakpoint at movieInvokeDefault in MovieObject.c, and then debug (using Safari.app as the executable). When you hit "Play(Default)", is movieInvokeDefault() called? Rudi Try hitting "Play(Default)" On Oct 23, 2006, at 10:15 AM, Shalini Kamala wrote: I did a rewind using the in-movie control, still no luck ;-( Thanks, Shalini Rudi Sherry wrote on 10/23/2006, 10:00 AM: Hmm, the buttons work for me in Safari. I did notice that once the move is finished, "Play" doesn't do a Rewind so you have to rewind using the in-movie controls (and since it plays automatically it's not easy to spot). Can you try that? On Oct 23, 2006, at 9:42 AM, Shalini Kamala wrote: Hi Rudi, I have MacBookPro 1,1 XCode 2.4 Firefox 1.5.0.7 (Should I upgrade to Firefox 2.0 ? ) In Safari, it does appear in Help-->About Plugins, however, doesn't respond to Play/Pause button clicks. I have Safari version 2.0.4 Thanks, --Shalini Rudi Sherry wrote on 10/20/2006, 5:26 PM: It worked for me. What version of Mac OS X, Xcode and Firefox do you have? I'm using: Mac OS X 10.4.8 Xcode 2.3 Firefox 2.0 RC 2 If you build it exactly as it is in the example, it should work. In Safari, when you select the menu item Help -> About Plug-ins, does it show? Rudi FYI: I did notice that it doesn't show the movie in the right place under Firefox; I had to edit MovieObject.c and in the SetRect call, subtract portBounds.left from the x-values and subtract portBounds.top from the four values, to make it show the movie correctly in both Safari and Firefox (2.0 RC 2). On Oct 18, 2006, at 5:09 PM, Shalini Kamala wrote: Hello! I am new to MAC/XCode, I am trying to write a plugin for Mac. I started out with NetScapeMoviePlugin sample under webkit, but it crashes with Firefox. In Safari, it does not load the plugin. I saw a few postings on the listserv on the same topic. Is there a fix available ? Or, I am missing something ? Thanks much!! Shalini _______________________________________________ webkit-dev mailing list |