An adaptive media streaming apparatus comprising: a receiver configured to receive media data generated by a media service apparatus and a script module from the media service apparatus using a communication protocol which supports web services; a first video player ; a second video player ; a video web worker configured to determine whether a video codec used to encode video data included in the media data is supported by a first video decoder embedded in a web browser of the adaptive media streaming apparatus; a decoding time measurer and a second video decoder conforming with the video codec used to encode video data included in the media data; wherein the video web worker , the decoding time measurer and the second video decoder are included in the script module received from the media service apparatus and are written in a script which is supported by the web browser; wherein the video web worker is configured to initially transmit the video data to the first video player , and the first video player is configured to decode the video data transmitted from the video web worker using the second video decoder, and the decoding time measurer is configured to measure, using a frames per second, FPS, meter, a decoding time of the second video decoder and to transmit the decoding time to the video web worker ; and wherein the video web worker is configured to compare the decoding time received from the decoding time measurer with a threshold value; and in response to the video web worker determining that the decoding time exceeds the threshold value and that the video codec is supported by the first video decoder embedded in the web browser, the video web worker is configured to transmit the video data to the second video player , and the second video player is configured to decode the video data transmitted from the video web worker using the first video decoder embedded in the web browser. a receiver configured to receive media data generated by a media service apparatus and a script module from the media service apparatus using a communication protocol which supports web services; a first video player ; a second video player ; a video web worker configured to determine whether a video codec used to encode video data included in the media data is supported by a first video decoder embedded in a web browser of the adaptive media streaming apparatus; a decoding time measurer and a second video decoder conforming with the video codec used to encode video data included in the media data; wherein the video web worker , the decoding time measurer and the second video decoder are included in the script module received from the media service apparatus and are written in a script which is supported by the web browser; wherein the video web worker is configured to initially transmit the video data to the first video player , and the first video player is configured to decode the video data transmitted from the video web worker using the second video decoder, and the decoding time measurer is configured to measure, using a frames per second, FPS, meter, a decoding time of the second video decoder and to transmit the decoding time to the video web worker ; and wherein the video web worker is configured to compare the decoding time received from the decoding time measurer with a threshold value; and in response to the video web worker determining that the decoding time exceeds the threshold value and that the video codec is supported by the first video decoder embedded in the web browser, the video web worker is configured to transmit the video data to the second video player , and the second video player is configured to decode the video data transmitted from the video web worker using the first video decoder embedded in the web browser. <EOS>