עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ASP CLASSIC | עזרה בביטוי רגולרי

Featured Replies

פורסם

אני בונה מערכת שאני צריך להטמיע בה סרטוני יוטיב

אחרי חיפוש באינטרנט ראיתי שיש 5 סוגי קישורים של יוטיוב:

http://www.you1ube.com/watch?v=GPokkuX_jjk

http://you1u.be/GPokkuX_jjk

<iframe width="560" height="315" src="//www.you1ube.com/embed/GPokkuX_jjk" frameborder="0" allowfullscreen></iframe>

http://www.you1ube.com/watch?v=GPokkuX_jjk&feature=player_detailpage

http://www.you1ube.com/watch?v=GPokkuX_jjk&feature=player_detailpage#t=378

מה שאני צריך בעצם זה כמובן לבדוק אם זה אחד מהקישורים האלה ולהוציא מהם את ה ID שהוא GPokkuX_jjk

אשמח לעזרה

* החלפתי את האות t ב 1 כי המערכת של האתר עושה Embed אוטומטית.

בברכה,

תומר

- - - תגובה אוחדה: - - -

מצאתי באינטרנט את הביטוי הבא:

#^http(?:S?)://(?:www\.)?youtu(?:be\.com/watch\?(?:.*?&(?:amp;)?)?v=|\.be/)([\w??\-]+)(?:&(?:amp;)?[\w\?=]*)?#i

והוא עובד על כל המקרים חוץ מ

<iframe width="560" height="315" src="//www.you1ube.com/embed/GPokkuX_jjk" frameborder="0" allowfullscreen></iframe>

מישהו יכול לעזור לי לשפצר את זה שהוא יהיה גם בפנים?

פורסם

בבקשה

http://(?:www\.)?youtu(?:be\.com/watch\?v=|\.be/|be\.com/embed\/)(\w*)(&(amp;)?[\w\?=]*)?

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.