FORUM

FLV/H.264/YOUTUBE Video Player with Google Analytics, categories and playlist

Home / Forum / Components Discussions / FLV/H.264/YOUTUBE Video Player with Google Analytics, categories and playlist / Page 2

  • When I try to play mp4 file, the progress circle never stops, I start to hear the audio
    from the mp4 file however instead of seeing a video I see a garbled flash screen.
    I have sent u a screenshot.


    No video, no playlist thumbnail is getting displayed.


    My video is 1280×720 I haven’t changed the player setting from default. I have
    changed my playlist img to be 60×60 but still no go, same issue.


    #  /  posted on May 06, 2010
  • It support h.264. My guess is that is mp4 but not h.264.
    The playlist image is resized to 60×60


    #  /  posted on May 06, 2010
  • It is H.264 we checked. Another new bug – the pause button doesn’t work, the video once it starts to play never stops when you git the pause
    button. The file is H.264/mp4. It works on non-H.264 content like a pure flv file u have in examples.


    I also emailed you directly about the alignment issue in FF 3.5.9


    I purchased your product thinking I won’t have to spend much time getting it working…


    #  /  posted on May 06, 2010
  • BTW MpEG4 or MP4 is same as H.264 see http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC


    #  /  posted on May 06, 2010
  • Dear sir,


    I’ve already answered on your email when you wrote me, that YouTube API imposes a proportion of 4:3. Is not something that we miss align, it is the way Youtube Api works.


    Regarding mp4 format, if a file is mp4 doesn’t imply that is H.264. If you hear only the sound and see no image the file is not correctly coded. I’ve sent you an email with an mp4 sample file.


    Regarding pause button, please check our three samples… in all pause button is working correctly. In your testing is not working because you didn’t put a file that FlashPlayer supports.


    In our documentation we wrote: “It plays any kind of video file that Flash Player supports”... so you need files that Flash Player supports


    Regards


    #  /  posted on May 06, 2010
  • First of all the video plays fine on all the Flash video players we have tested. To call your bluff I downloaded the popular FLV player, JW Player, that supports MP4 from http://www.longtailvideo.com/players/jw-flv-player/


    The video plays & pauses fine with no issues whatsoever. In addition I have tried the same video on half a dozen other players that support mp4 – Windows Media Player, Adobe media Player, YouTube, Apple QuikcTime and have no issues whatsoever.


    So to blame the mp4 is bizarre and incorrect! If it can play on all the browsers with JW web based flv player than there i sno reason why with the same Flash version it can’t play on your video. I don’t see the banding issues with other video players either!!


    The only reason we purchased the video was to be able to use your play list feature.
    Instead of blaming the mp4, I think you should take a look at fixing the bugs so that when you sell it you don’t have support issues like these.


    #  /  posted on May 07, 2010
  • Dear Sir,


    I sent you printscreens for IE and Mozzila. I’ve also sent you a link to the customization done for you on our server. The samples that you see here are not on our sever, are all on a third party server and all work ok.


    Also, could you please tell me why do you send me mails and post comments with the same thing, forcing me to answer the same thing twice? I would really appreciate if you would only post comments or send emails.


    Regards


    #  /  posted on May 07, 2010
  • Hello, the component is quite interesting. I want to use it as a single video player. I have two issues that I should figure out to be able to use it.


    1) Parameter to load a specific video file.
    In order to load the desired video, I want to send a parameter to the player, a “VideoId”, to open something like:

    private var __xmlVideoPath:String = "video.php?Id=" + VideoId; 
    


    instead of:

    private var __xmlVideoPath:String = "playlist.xml"; 
    


    Is this possible?


    2) Call a script via POST, to increment a counter of complete views of the video.

    private function videoComplete(event:VideoEvent):void { 
    	var myData:URLRequest = new URLRequest("video_full_view.php"); 
    	myData.method = URLRequestMethod.POST; 
    	var variables:URLVariables = new URLVariables(); 
    	variables.Id = VideoId; 
    	myData.data = variables; 
    	var loader:URLLoader = new URLLoader(); 
    	loader.dataFormat = URLLoaderDataFormat.VARIABLES; 
    	loader.addEventListener(Event.COMPLETE, dataOnLoad); 
    	loader.load(myData); 
    	function dataOnLoad(evt:Event){ 
    		//trace(loader.data.status); //status is a custom flag passed from back-end 
    	} 
    	if (_loop) { 
    		nextPrevVideo();				   
    	} else { 
    		_playPauseButton.MyPlayButton.visible=true; 
    		_playPauseButton.MyPauseButton.visible=false;				 
    	} 
    } 
    

    Is this possible?


    Thanks a lot,
    Pablo.


    #  /  posted on May 11, 2010
  • Hello!


    1. Playlist is defined in playersettings.xml file. We’ve put in the code
    private var __xmlVideoPath:String = “playlist.xml”;
    to cover the fact that the user might forget to fill that field in playersettings.xml


    2. You can call a php file, this is the way STAF works.
    It’s something like
    var varSend:URLRequest = new URLRequest(this.loaderInfo.loaderURL.slice(0,this.loaderInfo.loaderURL.lastIndexOf(”/”))+”/your_file.php”);
    varSend.method = URLRequestMethod.POST;
    varSend.data = variables;


    Regards


    #  /  posted on May 11, 2010
  • Hello,


    Thanks a lot!... I’ll try that right now.


    Kind regards,
    Pablo.


    #  /  posted on May 11, 2010
  • Hello,


    1) We had to use a session variable to store the id of the video we want to play; this is a poor solution but I think would work. I hope we can discover some day a nice way to pass that parameter to the player; in case we achieve that, we will publish that here.


    2) The code we added at videoComplete function always fail for us, mainly because as3 is so arcane for us :). Would be great to be able to “do administrative things” after playing a video (eg: record the fact that a person watched the whole video or display an ad).


    Conclusion: the player is great, but we will not use it because we failed in our customization effort.


    Kind regards,
    Pablo.


    #  /  posted on May 12, 2010
  • Hello!


    1. You don’t need to store a session id. The player supports FlashVars
    For example to load “Dispicable Me – Trailer” you can pass:
    http://www.flashcomponents.net/upload/samples/6009/player_v4.php?htmlK=2&htmlCateg=Animation


    2. We can customize it for you for an additional fee.


    Please send me an email on office@lambertgroup.ro with what exactly you want to customize when the video finishes playing


    Regards


    #  /  posted on May 12, 2010
  • Hi, Great component!.
    Question: can you provide a couple of examples of linking to rtmp and rtmpe?, I can’t seem to configure it correctly in my xml file. I just hangs with a blank screen.


    Also, for the senddatafromflash to send email, do i need ‘allowScriptAccess’,‘sameDomain’ and anything specific, its not sending emails. I am using the SWFObject as a quick way to add the swf to the page. Works fine except for the emailer and the RTME.


    #  /  posted on May 22, 2010
  • Hello,


    The player uses rtmp links of this type:
    rtmp://my.domain.com/something/video
    rtmp://my.domain.com/something/_definst_


    Regarding senddatafromflash.php to work you need ‘allowScriptAccess’,‘sameDomain’ and the php file needs to be in the same folder as the .swf.


    Please also check the HTML/JS source for our example
    http://www.flashcomponents.net/upload/samples/6009/index.html?full=true


    Regards


    #  /  posted on May 22, 2010
  • The playersettings.xml file has bufferTime setting. What is the unit of time ? Default
    is 0.1, is that 100 ms ?


    We are running into an issue where the screen starts out as blank for 3-5 seconds and then the round progress circle starts, some users are getting impatient and closing the video thinking its not working.


    Is there a setting to get the progress circle to show up right at the start ?


    #  /  posted on Jul 01, 2010
  • Hello,


    Yes the default is 0.1 which is 100 ms. That is a value that specifies the number of seconds to buffer in memory before beginning to play a video stream. For files streaming over RTMP it can be useful to increase the default value of 0.1. For a progressively downloaded movie file over HTTP, there is little benefit to increasing this value although it could improve viewing a high-quality video on an slower computer.


    Regarding the circle, it appears only at the beginning (initialization) when the xml & css files are loaded. It will not appear when the player is in buffering state. At the bottom you have the progress bar which has 3 purposes:
    1. to show how much it was played (the blue color)
    2. to show how much it was buffered (the gray color). When the blue bar has the same length as the gray bar it starts buffering and the movie will stop until the buffers is sufficient.
    3. on click, navigate forward or backward the movie


    Regards.


    #  /  posted on Jul 02, 2010
  • Hi, Congratulations for the component.

    I´ll use it in a full flash website but I need to change the path of all files, only player_v4swf will be at root and the other will be in a folder called video. How could I do this.. The action is editable?

    thanks


    #  /  posted on Aug 19, 2010
  • Hello,

    Thank you for your words of appreciation.

    You have to put in the same place player_v4.swf and playersettings.xml. For the rest you have to edit the paths in playersettings.xml

    Regards.


    #  /  posted on Aug 19, 2010
  • Thanks, God bless you


    #  /  posted on Aug 20, 2010
  • I copied all files from Example 1, into my root folder and the players is totally screwed up checked the xml, etc cant find the solution any ideas the movie is running under the banners in 240xsomething


    #  /  posted on Oct 04, 2010
  • flash player crashing in firefox will post error code


    #  /  posted on Oct 04, 2010
  • Hello Kero,

    First of all the player needs to stay on a sever (or virtual server) because is connecting to youtube.com. If you already have it on a server, kindly please send me the link where you put it on office@lambertgroup.ro so I could take a look.

    Thank you,

    Regards


    #  /  posted on Oct 04, 2010
  • thanks for the respond. I was able to fix the problem, it kept crushing because of customization if i'll have any problem I'll send u guys an email THX much


    #  /  posted on Oct 05, 2010
  • faz

    Regarding Google Analytic I did Put my UA-1980xxxx-2 ID into the XML File also Google Code is Places into the Same page but when I log into the Google Analytic how do I know which Video is watch for how many times etc .. I cannot see any information like that please can you help .

    Thanks Faz


    #  /  posted on Dec 01, 2010
  • Hello Faz,

    On Google Analytics site you can see at Content->Top Content what videos where played and how many times

    Regards


    #  /  posted on Dec 01, 2010
  • faz

    Got it- THank you


    #  /  posted on Dec 09, 2010
  • You are welcome


    #  /  posted on Dec 09, 2010
  • hi there,

    before purchasing, I have some qustions

    1. can I make single video player? and how?
    2. is your program auto publishing HTML source?
    3. I need to make lots of different video contents so what do I need to buy? multiple?

    #  /  posted on Dec 21, 2010
  • Hello,

    1. You'll have just one movie in playlist. If you need to hide the playlist and never show it you'll need to modify the script
    2. No. The player is configured from XML and CSS. In the XML file you can insert HTML tags, if you need
    3. If you'll buy Single Commercial License you'll be able to use it inside one commercial website. You can insert it (using FlashVars) on multiple pages with different playlists, but on the same website. If you intend to use it on multiple website you need to buy Multiple license

    Regards


    #  /  posted on Dec 21, 2010
  • Hi there,

    I am very new to this. I have purchased this component and uploaded the Eample 1 files to my web hosting ftp site under a sub folder, eg. "www.mysite.com/videoplayer". When I type in "www.mysite.com/videoplayer" in IE the Video Player display, however non of the control seems to be responding. I tried to click on any of the video and the play buttom but nothing seems to be working. I can see the preview photo on the play list and all that, but no video can be played including those that are from YouTube.

    Is there any document or instructions on how to upload and setup this component to web hosting? What is the minimum configuration the hosting server must have ? Could you provide me some more information on how to get this working.

    Thanks in advance,


    #  /  posted on Jan 28, 2011