         public static const FRAGMENT : String = '#EXTINF:';
         /** Header tag that must be at the first line. **/
         public static const HEADER : String = '#EXTM3U';
+        /** Version of the playlist file. **/
+        public static const VERSION : String = '#EXT-X-VERSION'
         /** Starttag for a level. **/
         public static const LEVEL : String = '#EXT-X-STREAM-INF:';
         /** Tag that delimits the end of a playlist. **/

                    // month should be from 0 (January) to 11 (December).
                    program_date = new Date(year, (month - 1), day, hour, minutes, seconds).getTime();
                    program_date_defined = true;
                    tags.push(line);
                } else if (line.indexOf(DISCONTINUITY) == 0) {
                    continuity_index++;
                    tags.push(line);
                } else if (line.indexOf(FRAGMENT) == 0) {
                    var comma_position : int = line.indexOf(',');
                    var duration : Number = (comma_position == -1) ? parseFloat(line.substr(FRAGMENT.length)) : parseFloat(line.substr(FRAGMENT.length, comma_position - FRAGMENT.length));
                    extinf_found = true;
                    tags.push(line);
                } else if (line.indexOf('#') == 0) {
                    // unsupported/custom tags, store them
                    tags.push(line);
                } else if (extinf_found == true) {
                    var url : String = _extractURL(line, base);
                    var fragment_decrypt_iv : ByteArray;

                                break;
                        }
                    }
                    tag_list.push(line);
                } else if (line.indexOf(PROGRAMDATETIME) == 0) {
                    // CONFIG::LOGGING {
                    // Log.info(line);
