{"id":13,"date":"2008-06-10T12:55:50","date_gmt":"2008-06-10T19:55:50","guid":{"rendered":"http:\/\/www.nayansavla.com\/blog\/?p=13"},"modified":"2010-01-21T17:19:13","modified_gmt":"2010-01-22T00:19:13","slug":"flex-videodisplay-component-problems","status":"publish","type":"post","link":"https:\/\/www.nayansavla.com\/blog\/?p=13","title":{"rendered":"Flex Videodisplay Component Problems"},"content":{"rendered":"<p> <!-- google_ad_section_start --><br \/>\nThese are the problems i faced in Flex 3.0 inbuilt videodisplay component. I had tried using it but gave up on it a couple months ago this post is written. I created my own videodisplay component for our application.<\/p>\n<ul>\n<li>There is no video smoothing option, Very very weird since that was introduced in Flash player version 6.<\/li>\n<li>You cannot get the netStream.bufferLength property, there is no getter for it. So you cannot display the buffer status.\u00a0<\/li>\n<li>If you are encoding flv files which broadcast onLastSecond near the end, it will throw an error.\u00a0<\/li>\n<li>Also there was a state problem, the player would go into unresponsive state while seeking or something like that which was completely messing up the video.<\/li>\n<\/ul>\n<p>There was some else major as well but i can&#8217;t remember right now, i think it was the way videos were playing. Anyway i am happy with my custom component, which works perfect for our application.<\/p>\n<p>\u00a0<\/p>\n<p>I have seen that this post is the most popular among the very few posts i have, so if you need any help writing your own video display component i will be more than happy to share my knowledge. Sorry i can&#8217;t share the code for the component i have created.<\/p>\n<p>\u00a0<\/p>\n<p>edit: July 20th 08.\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Flex component might also give you problems while seeking the video to the end, specially if your buffer is long. lets say if you have a buffer of 20 seconds and someone seeks to the last 18th second then the status will be buffering and since the buffer would never get full. The status of the video will be buffering always and the video won&#8217;t play.\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>In my custom component i had to add a condition to see the seek time and buffer length etc and then accordingly change the status of the video.<br \/>\n <!-- google_ad_section_end --><br \/>\n\u00a0<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are the problems i faced in Flex 3.0 inbuilt videodisplay component. I had tried using it but gave up on it a couple months ago this post is written. I created my own videodisplay component for our application. There is no video smoothing option, Very very weird since that was introduced in Flash player [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7],"tags":[66,15,16],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-as-30","category-flex","tag-flex","tag-video","tag-videodisplay-component"],"_links":{"self":[{"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":0,"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nayansavla.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}