Is there a way to manipulate jquery Fancybox plugin to display flash video files (.flv)? I mean making it behave like Malsup's Media plugin that can handle both .swf and .flv
i have a media player in vb form...with 2 files in a listbox as a playlist
now i want to create a fade between changing these files as a transition how can i do that...
Hey I have this program that has been working fine until I tried to open this one wav file? Not sure what the problem is or that I understand it? Do I need to find a new component to use for this file or what? I am using Delphi 4 Pro and the standard VCL component for Media Player. I am looking for a good new component that offers more help with wav and mp3 files too but not found what I am looking for yet?
I want to transcode a lot of audio from its source format to PCM without resampling or messing with the sample size. I figure if Windows Media Player can play the file and it doesn't use a legacy ACM codecs it must be using DirectSound to do so (this is on Windows XP and Windows Server 2k3). So is it possible to access DirectSound from C# and do so? I've tried searching the web but all the examples have been about playback which I have no interest in doing.
Just notice that after updating to Safari 5 (mac) all the flash applications that respond to resize events got sluggish.
try:
http://www.tutorio.com/media/flash/liquid-demo.html
this works great with firefox 3.6.3, Chrome can deal with it fine, although not so fast as Firefox, but new Safari gives a awful experience, distorting all content if you do fast resizing.
Any ideas why is this happening / and how can I get a better performance with safari browsers?
I was looking into System.Media.SoundPlayer and NAudio, and AFAIK they only play WAVE streams. The WAVE file is composed of the pure PCM data plus a format header. I don't have this header. How to play the PCM data without the header?
Hi guys,
I'm creating a custom datepicker, I have a textbox, once clicked it opens a calendar within a popup.
What I want to do is change the size of the popup so it shows my whole calendar, but I can't manage to change it..., I've tried using Height, Width, MinHeight, MinWidth... but it doesn't work, the popup keep showing with a fixed size.
The thing is that my popup's parent property isn't evaluated since it has expression issues (according to debugger), so I'm sure my popup's parent isn't the main screen( say layout grid).
How can I for example make my popup open within a specific context ?
This part of my code isn't XAML, it's C# code only and it looks like:
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Controls.Primitives;
namespace CalendarBranch.components
{
public class wpDatePicker:TextBox
{
private CalendarPopup calendar;
private Popup popup;
public wpDatePicker()
{
this.calendar = new CalendarPopup();
this.popup = new Popup();
this.popup.Child = this.calendar;
this.popup.Margin = new Thickness(0);
this.MouseLeftButtonUp += new MouseButtonEventHandler(wpDatePicker_MouseLeftButtonUp);
this.calendar.onDateSelect += new EventHandler(onDateSelected);
this.IsReadOnly = true;
}
protected void wpDatePicker_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
this.popup.Height = this.calendar.Height;
this.popup.Width = this.calendar.Width;
this.popup.HorizontalAlignment = HorizontalAlignment.Center;
this.popup.VerticalAlignment = VerticalAlignment.Center;
this.popup.HorizontalOffset = 0;
this.popup.VerticalOffset = 0;
this.popup.MinHeight = this.calendar.Height;
this.popup.MinWidth = this.calendar.Width;
this.popup.IsOpen = true;
}
private void onDateSelected(Object sender, EventArgs ea) {
this.Text = this.calendar.SelectedValue.ToShortDateString();
this.popup.IsOpen = false;
}
}
}
PS: the class Calendar is simply a UserControl that contains a grid with multiple columns, HyperLinkButtons and TextBlocks, so nothing special.
Thank you in advance guys ;)
Cheers
Miloud B.
So our app has the option to take either a picture or a video. If the user takes a picture, we can use the MediaStore.Images.Media.insertImage function to add the new image (via a filepath) to the phone's gallery and generate a content:// style URI. Is there a similar process for a captured video, given that we only have it's filepath?
I would like to allow users to access images saved in web folder.
For example - I have an image in web root folder "blank.png". But the link http://localhost:8080/myapp/blank.png returns 404 (not found).
Adding type to resteasy.media.type.mappings does not work.
I am a bit of a newbie in RESTEasy...
Why would bitmap outperform vector?
My Flash is for a large Kiosk, with rich media requirements and must function accurately as a counter. I want to keep everything vector for scalability.
When I did a simple FPS test, I noticed my Bitmap version performed perfectly, and the all vector file was noticeably slower.
PLEASE EXPLAIN
• vector performance• what graphic standards I can apply• solutions for using vector
KIOSK TEST ANIMATION
RESULTS
• only text and bitmap perform well, not vector
• background and clouds OK, but more layers slow it down
Usually I would use :hover, but I want my website to be accessible on touchscreen media too.
I know I can use :active, but as soon as I let go of the mouse button, it goes back to its inactive state.
Effectively I want:
Mouse Down : Div goes green
Mouse Up: Div stays green
Mouse Down: Div goes red
Mouse Up: Div stays red
Instead of:
Mouse Down: Div goes green
Mouse Up: Div goes red
Hi guys,
Did anyone ever managed to connect to remote webcam through flex application?
I know there is media.Camera object but I only managed to connect it locally,
must be small thing that i missing...
Thanks,
Royee
Hello I wanted to know which event determines if a external video is loaded (using Action Script 3, Flex SDK 3.4 compiler and FlashDevelop -VideoEvent is not present here-).
I'm using a flash.media.video component
I've tried with NetStatusEvent.NET_STATUS and "NetStream.Buffer.Full" but it does not seem to work.
Thank you.
The Mono 2.6 distribution contains System.Media.SoundPlayer, but attempts to play result in no sound (and no errors) on Mac OS X. All I can find with Google search is obscure references to ALSA. I posted to the Mono-OSX list, but there have been on replies there. I hope someone here has an answer. I think I need to tap into CoreAudio, but don't know how from Mono/C#.
Hi,
I posted a question earlier about stopping all sounds in a swf. Now, to do that I'm using the following code.
var transform1:SoundTransform=new SoundTransform();
transform1.volume=0;
flash.media.SoundMixer.soundTransform=transform1;
Which solves the problem (mutes all sounds) but now there is an issue, I want to stop all sounds but one. Any Ideas?
How can I get Color from a Hex color code(e.g. #FFDFD991)?
I am reading a file and getting Hex color code, I need to create the corresponding System.Windows.Media.Color instance for the Hex color code. Is there any inbuilt method in framework to do this?
I have this code setup to track image downloads throught Google Analytics.
<a href="/media/37768/CC20100117m001_thumb_2000.jpg"
onclick="pageTracker._trackEvent('Image', 'Download', 'file.jpg');"
class="hi-res track">
Hi-Res</a>
But the events don't ever show up in the GA reports.
I thought maybe the the browser was following the link before the javascript was being run but setting href="#" doesn't work either.
Any ideas?
I am making audio/video chat application, i am useing flex,flash media server 3.5 ,flash palyer 10, And i facing the problem of echo very frequently, I am using headset for audio recording.
Hi,
I want to apply ckeditor on specific textarea in django admin form not on all the text areas.
Like snippet below will apply ckeditor on every textarea present on django form:
class ProjectAdmin(admin.ModelAdmin):
formfield_overrides =
{models.TextField: {'widget': forms.Textarea(attrs={'class':'ckeditor'})}, }
class Media:
js = ('ckeditor/ckeditor.js',)
but i want it on a specific textarea not on every textarea.
Hi,
I will describe briefly my trouble with audio recording.
So, I am doing audio recording using MediaRecorder, but unfortunately when I playback the recorded audio, I have media with a very low volume. I don't here anything (almost anything).
Is there any possibility to setup recording volume?
Thanks.
Hi(Sorry for my ugly english)
When I calling the flowing:
http://192.168.62.90:8000/blog/entry/?agphdXR1bW4xOTEychALEgpibG9nX2VudHJ5GCYM
will use this:
urlpatterns = patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
(r'^$', list_detail.object_list, entry_info),
(r'^entry/(?P<object_id>.*)$',
list_detail.object_detail,
{'queryset': Entry.all(), 'template_name': 'sample_test_page.html'}),
)
and the error is:
Generic view must be called with either an object_id or a slug/slug_field.
I want to know why this didn't work for me.
My model
class TheFile(models.Model):
document = models.FileField(upload_to="archivos")
The wierd HTML admin link:
<a hacking_google_maps_and_google_earth.pdf="" archivos="" media="" localhost:8000="" http:="" href="" target="_blank">archivos/Hacking_Google_Maps_And_Google_Earth.pdf</a>
If I firebug-edit the href="" it works :S
Hi,
Im trying to load a remote image into a pdf generated by tcpdf however I can't seem to get it to work?
The rest of the pdf loads fine and it looks like to trying to retrieve the image however it just does print to the page?
The code I am using is:
$pdf->Image("http://media.domain.com/logo.jpg", 0, 0, 100, 150, 'JPEG', '', 'T', true, 72,'','','','','','','');
Any help on this would be a massive help,
Thanks,