myGully.com

myGully.com (https://mygully.com/index.php)
-   Programmierung (https://mygully.com/forumdisplay.php?f=67)
-   -   Youtube Suche für meine HP (https://mygully.com/showthread.php?t=2164935)

Falcoxxx 17.11.10 21:14

Youtube Suche für meine HP
 
Hey ich habe mir aus YouTube die Suche rausgezogen

Doch jedes mal wenn ich suche, fängt er an auf meine hp zu suchen

da kommt dann diese URL:
[Link nur für registrierte und freigeschaltete Mitglieder sichtbar. Jetzt registrieren...]

aber ich will ja das er auf youtube sucht...

hier ist der code
vllt kann mir jemand helfen

<form name="logoutForm" method="post" action="/">
<input type="hidden" name="action_logout" value="1" /> <input type="hidden" value="KazzBnc7J3a3TL50pS7nu0spl0h8MTI5MDExMzU0OA= =" name="session_token" />
</form>
<div id="youtube.com">
<div id="masthead-container">
<div id="masthead" dir="ltr"><a href="http://www.youtube.com/" title="YouTube home"> <br />
</a>
<form id="masthead-search" autocomplete="off" class="search-form" action="/results" method="get" name="searchForm">
<button class="search-button yt-uix-button" type="button" id="search-btn" dir="ltr" tabindex="2"><span class="yt-uix-button-content">Search</span></button>
<div><input type="text" autocomplete="off" id="masthead-search-term" class="search-term" name="search_query" value="" tabindex="1" title="Search" /></div>
<input type="hidden" value="f" name="aq" /><input type="hidden" disabled="disabled" value="" name="oq" />
</form>
</div>
</div>
</div>
<div style="display: none;" id="requestedContent0">&nbsp;</div>
<div style="display: none;" id="requestedContent1">
<div id="session_token"><input type="hidden" name="session_token" value="ovCZfhjgYTQHi2aXSFoCu6yAOqN8MA==" /></div>
<div id="manage-password">You signed in via Google, so you should click <a href="https://www.google.com/accounts/ManageAccount?hl=en_US">here</a> to change your password.</div>
<div id="manage-delete">
<table cellpadding="3">
<input type="hidden" id="password_delete" name="password" value="_" />
<tbody>
<tr>
<td valign="top"><label for="reason_delete">Reason for Deleting Account:</label></td>
<td><textarea id="reason_delete" name="reason" rows="3" cols="50"></textarea>
<div class="smallText">Please take a moment to tell us why you are deleting your account.</div>
</td>
</tr>
</tbody>
</table>
<button type="button" class=" yt-uix-button"><span class="yt-uix-button-content">Delete Account</span></button></div>
<div id="manage-unlink">
<div style="padding-bottom: 10px;">If you unlink your accounts, you will no longer be able to sign in to YouTube with your Google account. Your YouTube account will stay the same otherwise, and you can still sign in with your YouTube username and YouTube password.</div>
<a href="http://www.youtube.com/my_account_unlink">Unlink YouTube and Google Accounts</a></div>
<div id="manage-link">
<div style="padding-bottom: 10px;">If you link your accounts, you will be able to sign in to YouTube with your Google account.</div>
<a href="http://www.youtube.com/finish_link_upgrade">Link YouTube and Google Accounts</a></div>
<div id="delete-campaign-confirm">
<p>Are you sure you want to delete your Promoted Videos campaign?</p>
<table class="valign-middle">
<tbody>
<tr>
<td><button href="https://ads.youtube.com/update?action_delete_campaign=1&amp;tkn=i1e4Cf8ZTD DB4pSz46sRAoP3s1l8MTI5MDAyNzI3MA%3D%3D&amp;next=ht tp%3A%2F%2Fwww.youtube.com%2Faccount_manage%3Facti on_handle_campaign_response%3Dtrue%26tkn%3DW8GY9ms oYc8zWU3XRt6MWk7ixT98MTI5MDAyNzI3MA%253D%253D%26ca mpaign_updated%3D1" type="button" class=" yt-uix-button"><span class="yt-uix-button-content">Delete My Promoted Videos Campaign</span></button></td>
<td>or <a>cancel</a></td>
</tr>
</tbody>
</table>
</div>
<div id="manage-authorized_sites">You signed in via Google, so you should click <a href="https://www.google.com/accounts/IssuedAuthSubTokens">here</a> to view your settings.</div>
<div id="manage-captions">
<div class="checkbox-input-pad"><input type="hidden" id="username" name="username" value="Miloni12" />
<div><label><input type="checkbox" id="captions_generate_default_on" name="captions_generate_default_on" value="true" checked="checked" />Allow viewers to automatically generate captions</label></div>
<div class="checkbox-input-pad greyText">In addition to standard user-uploaded caption tracks, users may also request the automatic generation of captions. Changing the default above will change the settings for all your videos. You can also make individual caption tracks public or private on each video&rsquo;s page.</div>
<br />
<button href="http://www.youtube.com/account?feature=mhum#set-captions" type="button" class=" yt-uix-button"><span class="yt-uix-button-content">Save</span></button></div>
</div>
<div id="manage-logout">Click to sign out of all sessions on all computers <a href="http://www.youtube.com/remote_logout?action_signout_redirect=1">Sign Out Everywhere</a></div>
</div>
<div style="min-width: 75px; left: 1037.1px; top: 43px; display: none;" class="yt-uix-button-menu yt-uix-button-menu-text hid">
<table>
<tbody>
<tr>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/user/Miloni12?feature=mhum">My Channel</a></td>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/my_subs*****ions?feature=mhum">Subs*****ions</a></td>
</tr>
<tr>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/inbox?feature=mhum&amp;folder=messages&amp;action_ message=1">Inbox</a></td>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/my_videos?feature=mhum">My Videos</a></td>
</tr>
<tr>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/account?feature=mhum">Account</a></td>
<td><a class="yt-uix-button-menu-item" href="http://www.youtube.com/my_favorites?feature=mhum">Favorites</a></td>
</tr>
</tbody>
</table>
</div>

Hans_Dampf 17.11.10 21:43

Du verweist in deinem Form-Tag ja auch auf eine relative Adresse:
<form id="masthead-search" autocomplete="off" class="search-form" action="/results" method="get" name="searchForm">

Du musst schon da hinleiten, wo es ausgeführt werden soll.

Falcoxxx 22.11.10 19:42

wie müsste dann der s***** aussehen das er auf youtube sucht?

Racer X 22.11.10 20:58

Also ich finde Dein S***** total unübersichtlich, aber ich Persönlich würde das ganze einfach Per PHP machen

Hans_Dampf 22.11.10 22:24

@Racer X
Was hat das mit PHP zu tun?

@Falcoxxx
So ganz auf die Schnelle und ohne unnötigen Ballast würde ich es mal in der Art probieren:

<form action="http://www.youtube.com/results" method="get" name="searchForm">
<input name="search_query" value="" type="text" tabindex="1" />
<input value="Suchen" type="submit" tabindex="2" />
</form>

Durch die Methode get erzeugt er damit eine URL im Format [Link nur für registrierte und freigeschaltete Mitglieder sichtbar. Jetzt registrieren...][Suchstring]


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:17 Uhr.

Powered by vBulletin® (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.