Previous Thread
Next Thread
Print Thread
Page 88 of 116 1 2 86 87 88 89 90 115 116
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted By qmc2
I found a possible - but complicated - work around which I'm currently trying... if you're interested in the technical details see this archived blog post. I'll let you know if that works (I have my doubts), but even if it works I would provide the solution in the form of "alternative Qt DLLs", not as a replacement of the official ones smile.

Wow, I'm surprised, it actually works wink!


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
@Shideravan: Please download http://qmc2.arcadehits.net/Win32/qmc2-alt-qtwebkit-x64.zip and unzip the two contained DLLs into the QMC2 installation folder, replacing the existing QtWebKit4.dll (keep a backup just in case).

It works for me in that it shows the video canvas, but I don't have working codecs installed in that VM so it wouldn't play the video snaps...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
I've updated the above file to also include a corresponding media-service plugin for DirectShow. At least this avoids the "missing service" warning, but I still can't test it.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
I just tried this page with the modified QtWebKit and QMC2's MiniWebBrowser, which basically works now: http://camendesign.com/code/video_for_everybody/test.html - but when I close the browser, QMC2 seems to hang somehow. Could be a local issue since my DirectX installation is corrupt, but I'm beginning to get my doubts again smile.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
I'm testing here, with official build 0.55 and using the DLL pack that you provided.
Now the video canvas shows up for me too. But QMC2 immediately freezes if you press the "play" button.


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Yeah, that's the same issue here... dunno if I can "fix" this.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Please re-download the file and try the updated DLLs! I've reverted some of the patches I had used, this appears to perform better now. Still no guarantee, though wink.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
René, I tried the new DLLs which you provided. At first glance, with the original "default" template, it had the same problem.
However, I edited default template, just changing

Code:
			
   if ( "$VIDEO_SNAP_URL$" != "" )
      document.write("<td width=\"33%\" valign=\"center\" align=\"center\"><video " + dropShadow() + "width=\"100%\" loop controls poster=\"$GHOST_VIDEO$\" src=\"$VIDEO_SNAP_URL$\"></video></td>");


to something based in the new JS-code version which is in the wiki

Code:
    var vsUrls = qmc2NEO.videoSnapUrls("$ID$");
    if ( vsUrls.length > 0 ) 
    {
        document.write("<h4>" + tr("Video snaps") + "</h4>");
        document.write("<td width=\"1%\" valign=\"center\" align=\"center\"><video controls loop autoplay>");
        for (var i = 0; i < vsUrls.length; i++)
            document.write("<source src=\"" + vsUrls[i] + "\" />");
        document.write("</video>");
    }


and it worked smile


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
Here a version of default template with the new JS-code version that I edited: http://www.mediafire.com/download/n47s1sxrwqxx1z5/default_template_working.zip


"A user interface is like a joke. If you have to explain it, it's not that good."
Joined: Mar 2008
Posts: 1,049
Very Senior Member
OP Offline
Very Senior Member
Joined: Mar 2008
Posts: 1,049
Well, but I have to say that it's have some "instability". I noticed that QMC2 can hang ramdomily if you scroll between systems.
One way to avoid a lot of trouble is just don't using "controls" in video options. I'm now using only "autoplay".
I'm testing extensively to see some ways to avoid hangs to implement video snap support in the alternative templates in experimental basis.


"A user interface is like a joke. If you have to explain it, it's not that good."
Page 88 of 116 1 2 86 87 88 89 90 115 116

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
1 members (1 invisible), 34 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,221
Posts120,756
Members5,053
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com