Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

Skip to main content

WordPress kullanan arkadaşlar bilirler video eklerken editör HTML modunda ekleriz, haliyle Görsel moda geçip ortalamamız gerekir bu durum bazen sayfa içeriğiyle bütünleşir ve istediğimiz şekilde sayfayı yerleştirmemiz zaman alır. Bu zaman kaybını en aza indirmek için bu makalede embed kodunun HTML modunda eklerken eklenen ufak bir kod dizisi ile sadece videoyu nasıl ortalarız kısaca izah etmiş olayım istedim.

Öncelikte video embed kodumuzu admin panelde yeni yazı ekleme sayfasında bulunan editörü HTML moduna alarak önce aşağıda verilen kodu videoyu ekleyeceğimiz alana ekliyoruz.

[html]<p style="text-align:center;">Video Embed kodu</p>[/html]

yukarıda verilmiş olan kodu ekledikten sonra videomuzun embed kodunu Video Embed kodu olarak belirtilen alana yapıştırıyoruz.

[html]<object width="320" height="265"><param name="movie" value="http://www.youtube.com/v/46JxOQhb1YE&hl=en_US&fs=1&color1=0x006699&color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/46JxOQhb1YE&hl=en_US&fs=1&color1=0x006699&color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="265"></embed></object>[/html]

örnek video kodumu aldım ve size kod olarak verdiğim şekilde ekliyorum.

Örnek :

Örnekte görüldüğü gibi sayfa yapısını bozmadan kısa bir kod yardımı ile sadece embed ettiğimiz video alanını ortaladık.

6 Comments

Leave a Reply