.

.

Thứ Sáu, 29 tháng 1, 2010

Nhúng YUME Video PlayList.

Tuy đã khám phá ra thủ thuật nhúng các ứng dụng của Yume vào Plus và viết
khá nhiều bài, nhưng vẫn còn thiếu 1 bài không nên bỏ qua: Nhúng Video PlayList
vào Plus.Các cuốn phim (như "Ngôi Nhà Hạnh Phúc" ) thường được cắt thành nhiều clip
rồi kết nối bằng playlist để xem.

Tôi ví dụ bằng VideoPlaylist nhạc hình hải ngoại tại địa chỉ Page URL:
http://video.timnhanh.com/xem-playlist-nhac-hinh-hai-ngoai.voicatamtinh_19.35A56AB3.html
.

Trong ô code nhúng, bạn nhận được

Code:


<embed
src="http://static.timnhanh.com/yumevideo/flash_player/player_embed_playlist.swf"
width="430" height="380"
type="application/x-shockwave-flash" allowfullscreen="true"
flashvars="width=430&height=380&xmlPath=http://video.timnhanh.com/videoplaylist/MTI3ODg2MS0zMzIwMw==.xml&colorAux=0xe0e0e0&colorMain=0x3d78f6&colorBorder=0x5a5a5a"></embed>

(1)


Bạn hãy copy chuỗi phía sau videoplayluist/ đến trước =.xml tức
là chuỗi này: MTI3ODg2MS0zMzIwMw= Đó là
ID của list.

Sau đó bạn ghi chồng lên VIDEOLISTid trong code mẫu dưới đây:


<EMBED height=380 type=application/x-shockwave-flash
width=430
src="http://img195.imageshack.us/img195/3863/onlymeflash.swf?link=http://static.timnhanh.com/yumevideo/flash_player/player_embed_playlist.swf?xmlPath=http://video.timnhanh.com/videoplaylist/VIDEOLISTid=.xml&colorAux=0xe0e0e0&colorMain=0x3d78f6&colorBorder=0x5a5a5a&?http://i500.photobucket.com/trang-sinh"
AllowScriptAccess="never">


Bạn sẽ được code nhúng vào Plus như sau:


<EMBED height=380
type=application/x-shockwave-flash width=430
src="http://img195.imageshack.us/img195/3863/onlymeflash.swf?link=http://static.timnhanh.com/yumevideo/flash_player/player_embed_playlist.swf?xmlPath=http://video.timnhanh.com/videoplaylist/MTI3ODg2MS0zMzIwMw==.xml&colorAux=0xe0e0e0&colorMain=0x3d78f6&colorBorder=0x5a5a5a&?http://i500.photobucket.com/trang-sinh"
AllowScriptAccess="never">


Và player thể hiện như thế này:











Nguồn:trang-sinh



Không có nhận xét nào:

Đăng nhận xét

Bài đăng Phổ biến

Nhãn