27 123
发新话题
打印

可以講一下內容替換表達式怎麼寫/用??

引用:
<script type="text/javascript">
                initWatchQueue(true);

                var MSG_Hide = 'Hide';
                var MSG_Show = 'Show';
                var MSG_Login = 'Please sign in to perform this operation.';
                var MSG_Loading = 'Loading...';
                var MSG_ShowingAll = 'Showing All Videos';
                var MSG_LoginFavorites = 'You must be logged in to add this video to your favorites';
                var MSG_LoginAddPlaylist = 'You must be logged in to add this video to a playlist.';
                var MSG_LoginReportConcern = 'You must be logged in to report a concern.';
                var MSG_FlagDefault = 'Select a Reason';

                var isLoggedIn =  false ;
               

                var swfUrl = canPlayV9Swf() ? 'http://s.ytimg.com/yt/swf/watch-vfl58347.swf' : 'http://s.ytimg.com/yt/swf/watch_v8-vfl58347.swf';
                var swfArgs = {"usef": 0, "BASE_YT_URL": "http://hk.youtube.com/", "vq": null, "sourceid": "r", "video_id": "bJycz_FHWX0", "l": 526, "sk": "KMpsPT-QqJFZn1h_f6dmcnloo2QzXmTCC", "fmt_map": "", "t": "OEgsToPDskJWcvDs6YEbqIeMDZBx-jy1", "hl": "en", "plid": "AARY9ZgSJ22Kf4xKAAACgAA0AAA", "sdetail": "f%3APlayList%2Cp%3Awww.diypage.com/cn/"};

                var additionalStatsHonorsUrl = '/watch_ajax?v=bJycz_FHWX0&action_get_statistics_and_data=1&l=EN';
                var additionalAudioInfoUrl = '/watch_ajax?v=bJycz_FHWX0&action_get_audio_info=1&l=EN';
                var watchMapUrl = '/watch_ajax?v=bJycz_FHWX0&action_get_map=1';
                var fullscreenUrl = '/watch_fullscreen?fs=1&BASE_YT_URL=http%3A%2F%2Fhk.youtube.com%2F&vq=None&sourceid=r&video_id=bJycz_FHWX0&l=526&sk=KMpsPT-QqJFZn1h_f6dmcnloo2QzXmTCC&fmt_map=&t=OEgsToPDskJWcvDs6YEbqIeMDZBx-jy1&hl=en&plid=AARY9ZgSJ22Kf4xKAAACgAA0AAA&sdetail=f%253APlayList%252Cp%253Awww.diypage.com%2Fcn%2F&title=2008-10-06 康熙来了 Part 1 在他们眼里没有大明星S.H.E';
                var watchGamUrl = null;
                var watchDCUrl = null;
                var watchTrackWithHitbox = false;
                var watchIsPlayingAll = false;
                var watchUsername = 'ykedwin';
                var pageVideoId = 'bJycz_FHWX0';
                var pageVideoSearchQueryStr = ' 康熙来了 20081006 康熙來了 在他们眼里没有大明星S.H.E Part 1...kangxi';
                var pageFillRelatedVideoStartIndex = 14;
                var pageFillRelatedVideoEndIndex = 40;
                var relatedVideoGridUrl = '/related_ajax?action_get_related&video_id=bJycz_FHWX0&view_type=G&watch3=1&search=%20%E5%BA%B7%E7%86%99%E6%9D%A5%E4%BA%86%2020081006%20%E5%BA%B7%E7%86%99%E4%BE%86%E4%BA%86%20%E5%9C%A8%E4%BB%96%E4%BB%AC%E7%9C%BC%E9%87%8C%E6%B2%A1%E6%9C%89%E5%A4%A7%E6%98%8E%E6%98%9FS.H.E%20Part%201...kangxi';
                var relatedVideoListUrl = '/related_ajax?action_get_related&video_id=bJycz_FHWX0&view_type=L&watch3=1&search=%20%E5%BA%B7%E7%86%99%E6%9D%A5%E4%BA%86%2020081006%20%E5%BA%B7%E7%86%99%E4%BE%86%E4%BA%86%20%E5%9C%A8%E4%BB%96%E4%BB%AC%E7%9C%BC%E9%87%8C%E6%B2%A1%E6%9C%89%E5%A4%A7%E6%98%8E%E6%98%9FS.H.E%20Part%201...kangxi';
                var playnextFrom = 'PL';
                var playnextCount = '0';
                var qlAutoscrollDestination = 0;
                var watchSetWmode = false;
                var embedUrl = 'http://www.youtube.com/v/bJycz_FHWX0&hl=en&fs=1';
                var ytLocale = 'en_US';
       
                var ad_eurl = null;

                var axc = '';
                var subscribeaxc = '';
               



                        function showCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {
                var msg = new Object();
                msg["post"] = "Please sign in to post a comment.";
                showCommentReplyForm_js(form_id, reply_parent_id, is_main_comment_form, msg);
        }

        function updateCharCount(charCount_id, label_id, textArea) {
                var msg = new Object();
                msg["exceeded"] = "Number of characters over the limit: ";
                msg["remaining"] = "Remaining character count: ";
                updateCharCount_js(charCount_id, label_id, textArea, 500, msg)
        }

        function loginMsg(div_id, display_val) {
                var msg = new Object();
                msg["login"] = 'Please sign in';
                loginMsg_js(div_id, display_val, msg);
        }

        function printCommentReplyForm(form_id, reply_parent_id, is_main_comment_form) {
                var msg = new Object();
                msg["post"] = "Post Comment";
                msg["remaining"] = "Remaining character count: ";
                msg["discard"] = "Discard";
                printCommentReplyForm_js(form_id, reply_parent_id, is_main_comment_form, 'V', 'top.goog.i18n.bidi.setDirAttribute(event,this)', 'video_id', 'bJycz_FHWX0', '', 500, msg);
        }

        function postThreadedComment(comment_form_id) {
                var msg = new Object();
                msg["add"] = "Adding comment...";
                postThreadedComment_js(comment_form_id, msg);
        }

        function commentApproved(xmlHttpRequest) {
                alert("Comment approved.")
        }

        function ThreadedCommentHandler(comment_form, comment_form_id) {
                var msg = new Object();
                msg["empty"] = "You must enter a comment!";
                msg["toolong"] = "Your comment must be shorter than 500 characters!";
                return ThreadedCommentHandler_js(comment_form, comment_form_id, msg);
        }

        function commentResponse(xmlHttpRequest) {
                var msg = new Object();
                msg["ok"] = "Comment Posted!";
                msg["pending"] = "Comment Pending Approval!";
                msg["toolong"] = "The comment you have entered is too long. Limit is 500 characters. Please write a shorter comment and try again";
                msg["tooshort"] = "The comment you have entered is too short. Please write a longer comment and try again";
                msg["toosoon"] = "Commenting Limit Exceeded";
                msg["email"] = "You must confirm your email address before you can submit comments.  Click OK to confirm your email address.";
                msg["captchFail"] = "The response to the letters on the image was not correct, please try again.";
                msg["default"] = "Post Comment";
                commentResponse_js(xmlHttpRequest, msg);
        }

        function load_all_comments(video_id, is_watch2) {
                var msg = new Object();
                msg["remove"] = "Loading Comments...";
                load_all_comments_js(video_id, is_watch2, msg);
        }




                onLoadFunctionList.push(function() { applyUserPrefs() });





                onLoadFunctionList.push(function() { enableVideoQualityDisplay()});
               
                       
        </script>
這個?
在head 找到的
長期Online 於
DiY-Page中文官方論壇

TOP

这是他们使用的一个影像框,如果你想采youtube的并不容易。
因为我做过链接都很难,都是隐藏了链接的。
而在中国也算还是不欢迎的站点之一。

TOP

引用:
原帖由 勇者 于 2008-10-11 16:39 发表
这是他们使用的一个影像框,如果你想采youtube的并不容易。
因为我做过链接都很难,都是隐藏了链接的。
而在中国也算还是不欢迎的站点之一。
哦.........
在香港好難找到一個易採又繁體的網..........
長期Online 於
DiY-Page中文官方論壇

TOP

香港很少像咱们大陆这么多个人主页,中文网页全球第一。

TOP

希望可以加入繁簡轉換in採集
長期Online 於
DiY-Page中文官方論壇

TOP

呵呵。。。好意见!

TOP

那這個建議 成與敗
就看你

長期Online 於
DiY-Page中文官方論壇

TOP

 27 123
发新话题