Παρουσίαση με Ετικέτες

Fix: Enable Silverlight & other NPAPI plugins at Chrome web browser
26 Μαΐου 15 05:43 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Below I’m elaborating a bit more my related tweet: #Fix #Silverlight & other #NPAPI (Netscape #Plugin API) at #Chrome Go to chrome://flags/#enable-npapi and click Enable, Close/Reopen browser — George Birbilis (@Zoomicon) May 13, 2015   Showing below the easiest of the suggested solutions that I found in this page   At Chrome’s address bar you […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: MediaElement Source=null releases stream, SetSource(null) fails
12 Δεκεμβρίου 14 05:32 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
This is my contribution to: http://stackoverflow.com/questions/19294258/forcing-mediaelement-to-release-stream-after-playback/27436323 If you use MediaElement, make sure you don’t get bitten by this one: http://msdn.microsoft.com/en-us/library/cc626563(v=vs.95).aspx ArgumentNullException – The mediaStreamSource is null. … After calling this method, MediaElement.Source returns null. If this is called and MediaElement.Source is set, the last operation wins. If a MediaElement is removed from the UI tree […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
Fix: Allow rewind of Mp3MediaStreamSource back to start
18 Νοεμβρίου 14 06:46 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
My comment at: https://github.com/loarabia/ManagedMediaHelpers/issues/16 While trying to use Mp3MediaSource at ClipFlair Studio’s AudioRecorder control (http://clipflair.codeplex.com), I noticed that when I was doing Stop() at MediaElement and then Play() it kept on playing from where it was before at Mp3MediaStreamSource So I did the following fix:   1) added these fields /// <summary> /// The first […]
Δημοσίευση στην κατηγορία: , , , , , , ,
Gotcha: MediaElement must be in visual tree for MediaOpened, MediaEnded to be fired
18 Νοεμβρίου 14 04:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair’s AudioRecorderControl (used in Captions/Revoicing component of ClipFlair Studio), I use the following code to initialize a MediaElement to use for playback. After a long time a found out that if the MediaElement is not in the visual tree (for example defined in XAML, or defined in code and then added to the visual […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: MediaElement AutoPlay faster than doing Play at MediaOpened
18 Νοεμβρίου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just added the following comment to: https://github.com/loarabia/ManagedMediaHelpers/issues/15 Managed Media Helpers contains the very useful Mp3MediaSource class for .NET / Silverlight / Windows Phone. Added compile-time SWITCHES and respective code to Silverlight demo code for PRELOAD (into memory stream) and AUTOPLAY (this was a bit tricky, need to call Play at MediaOpened event, not right after […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Fix: Hypelinks not clickable in RichTextBox under Silverlight
07 Σεπτεμβρίου 14 04:18 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Just fixed a nasty bug in ClipFlair Studio (http://studio.clipflair.net), where one couldn’t click hyperlinks in the Text component when set at ReadOnly mode. In that mode hyperlinks should open up new web pages (in Edit mode you can edit/remove them only of course), but instead when clicked they would show something like a focus rectangle […]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: use PivotViewer in WPF
04 Σεπτεμβρίου 14 02:12 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: System.IO.GetInvalidPathChars result not guaranteed
04 Απριλίου 14 12:54 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
at System.IO.Path.GetInvalidPathChars one reads: The array returned from this method is not guaranteed to contain the complete set of characters that are invalid in file and directory names note: can also call this method from non-trusted Silverlight app – not as Intellisense tooltip wrongly says in Visual Studio 2013 with Silverlight 5.1 I just found […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Drop files onto Silverlight controls
27 Μαρτίου 14 05:14 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was recently adding drop-files support to ClipFlair Studio, so I had to do some research on the related API that is available to Silverlight apps. Silverlight supports a limited set of Drag-and-Drop interaction with the operating system (supposedly for security reasons, but most probably because of the classic cross-platform implementation pains). For example it […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , ,
Gotcha: OnLostMouseCapture always called by CaptureMouse at WPF
14 Μαρτίου 14 12:08 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
It seems that CaptureMouse is behaving differently in WPF and Silverlight, in that in the former one it immediately calls OnLostMouseCapture at a Visual, whereas in Silverlight it doesn’t get called if the element didn’t have the mouse capture already (btw, in Silverlight that method is at a UIElement – there is no Visual ancestor […]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , , ,
Fix: XAML – The member Content is not recognized or is not accessible
09 Φεβρουαρίου 14 02:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was looking into some third-party code, upgrading it from Silverlight 4.x and was getting error ‘The member "Content" is not recognized or is not accessible’ at the following code part: Looking it up, found that you don’t need to bind the Content property of a ContentPresenter at all if you put it inside the […]
Δημοσίευση στην κατηγορία: , , , , , ,
HowTo: find max ZIndex from a collection of UIElements with LINQ
06 Δεκεμβρίου 13 03:18 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
My contribution to http://stackoverflow.com/questions/1101841/linq-how-to-perform-max-on-a-property-of-all-objects-in-a-collection-and-ret Based on  another answer there, here is what I’ve just added to my enhanced version of SilverFlow library’s FloatingWindowHost (copying from FloatingWindowHost.cs at http://clipflair.codeplex.com source code) /// <summary> /// Sets the specified UIElement topmost. /// </summary> /// <param name="element">UIElement to set topmost.</param> /// <exception cref="ArgumentNullException">UIElement is null</exception> private void SetTopmost(UIElement element) […]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Gotcha: var x = x() in Javascript gives “Object Expected” error
14 Ιουνίου 13 12:27 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair Studio (a Silverlight app), I had some time ago implemented a confirmation warning upon user trying to close the webpage (when it was running inside the web browser), which then had stopped functioning. It seems at some refactoring I had added code like the following: var activityView = activityView(); and it was failing […]
Troubleshooting: Silverlight installation on MacOS-X
23 Μαΐου 13 07:45 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
One of our ClipFlair Studio users reported on having some issue trying to install Silverlight on MacOS-X, so I gathered some related info below:     First of all, at the Silverlight installation webpage, at the System Requirements tab, you can find the following requirements: Macintosh (Intel-based) Intel Core Duo 1.83-gigahertz (GHz) or higher processor […]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: format XML output of DataContractSerializer
22 Φεβρουαρίου 13 04:52 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
based on the other samples posted at StackOverflow on how to format XML created by DataContractSerializer, that use XmlWriter, here’s a version (from ClipFlair source code) that works with streams (and Ionic.Zip library in specific). It also shows how the code is when you don’t apply formatting (using conditional compilation).  Just comment out the #define [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Fix: Silverlight Media Framework Player VolumeElement out of sync
11 Φεβρουαρίου 13 06:54 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
I was just adding a storable (persistent) Volume property to the MediaPlayerView class used at ClipFlair’s MediaPlayerWindow (connected to the underlying SMF player’s VolumeLevel property), when I realized that after reloading saved state, the SMF player’s Volume control would show a different value than the value set to it (which I could confirm by flipping [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
Gotcha: Image component not loading remote URLs during debugging
18 Δεκεμβρίου 12 01:13 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair’s Image component I use the following XAML to make it show an image from a URL that its ViewModel holds at a property named “Source”, of type Uri (URI = Uniform or Universal Resource Identifier in W3C parlance, something like a superset of the old classic URLs). <Image Name="imgContent"        HorizontalAlignment="Stretch" VerticalAlignment="Stretch"        [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Can’t step-through Silverlight file dialogs with Visual Studio debugger
02 Δεκεμβρίου 12 08:58 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
While stepping through “ShowDialog()” method of OpenFileDialog with Visual Studio 2010 debugger, at the Silverlight code pictured below (for loading a ClipFlair window’s stored options), I got a “Dialogs must be user-initiated” exception. Same behaviour will be shown with SaveFileDialog too, every time you try to step through the “ShowDialog()” method. This is because of [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
PivotViewer for a rich search experience
28 Νοεμβρίου 12 06:55 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
For ClipFlair, I’m looking into implementing advanced search using Silverlight PivotViewer   A really nice example of PivotViewer search is at: http://www.appletoncompassion.org/VirtualExhibitViewer This may take long time to load, since its loading 10000 children art DeepZoom image tiles You can use the mousewheel to zoom in there or the zoom slider at top-right (can also [...]
Δημοσίευση στην κατηγορία: , , , , , , , ,
HowTo: Make Project Linker extension’s VSIX install at Visual Studio 2012
27 Νοεμβρίου 12 10:24 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
HowTo: Use DotNetZip (Ionic.Zip) library in Silverlight
25 Νοεμβρίου 12 10:10 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
If you want to use the latest DotNetZip library (version 1.9.1.8) with Silverlight, you should get a patched version from http://dotnetzip.codeplex.com/workitem/14049, instead of the official download for Silverlight. It seems the Silverlight build in 1.9.1.8 official download doesn’t work correctly, since it tries to get IBM437 Encoding (as the original ZIP spec required) from Silverlight, [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
HowTo: Write directly into a ZIP stream using DotNetZip
23 Νοεμβρίου 12 12:51 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
At ClipFlair’s Playground Silverlight app I’m using DotNetZip library (Ionic.Zip namespace) for writing saved component state to a .ZIP file. In fact the Activity container there can create one .ZIP for each state that contains one .ZIP per-component it hosts (it can even host multiple instances of its own Activity componnt type to have nested [...]
Δημοσίευση στην κατηγορία: , , , , , , ,
HowTo: Hide Video area of Silverlight Media Framework Player
03 Οκτωβρίου 12 12:25 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Collection of Smooth Streaming Video URLs
23 Σεπτεμβρίου 12 05:16 μμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Here are some Smooth Streaming URLs I found on the Internet that you could use during development to test your smooth streaming players (like those based on SMF):   http://streams.smooth.vertigo.com/BigBuckBunny_30sec/bigbuck.ism/manifest http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest   http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_NASCAR.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_MLB.ism/Manifest http://video3.smoothhd.com/ondemand/Akamai_ASP_Cutdown.ism/Manifest http://video3.smoothhd.com/ondemand/mix1/mix1.ism/Manifest http://video3.smoothhd.com/ondemand/mix2/mix2.ism/Manifest http://video3.smoothhd.com/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest http://video3.smoothhd.com/ondemand/ElephantsDream.ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(Indo).ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(California).ism/Manifest http://video3.smoothhd.com/ondemand/Coral_Reefs.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Wakeboard.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Baseball.ism/Manifest http://video3.smoothhd.com/ondemand/eHow_Alligator.ism/Manifest http://video3.smoothhd.com/ondemand/NBA.ism/Manifest http://video3.smoothhd.com/ondemand/Changeling.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_ThyroidCancer.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_BeginnerGuideExercising.ism/Manifest http://video3.smoothhd.com/ondemand/Livestrong_Autism.ism/Manifest   Sources: http://www.google.com/?q=%22http%22+%22.ism%2FManifest%22&oq=%22http%22+%22.ism%2FManifest%22 [...]
Δημοσίευση στην κατηγορία: , , , , , , , , , ,
HowTo: load CaptionElements into Silverlight Media Framework player
03 Σεπτεμβρίου 12 03:38 πμ | Μπιρμπίλης Γεώργιος | 0 σχόλια   
Trying to make CaptionsGridWindow of ClipFlair serve captions editing on-the-fly to SMF (Silverlight Media Framework [now called MMPPF]) player component, I had a real hard time, plagued by a bug at TimedTextElementStyle. It seems to be setting default FontSize for captions using a “Cell” unit instead of using a “Pixel” unit. Currently SMF only supports [...]
Δημοσίευση στην κατηγορία: , , , , , , , , ,
Περισσότερες Δημοσιεύσεις Επόμενη »

Search

Go

Ιστορικό Δημοσιεύσεων

Συνδρομές